From 6a643f3541fe95c0a3da5f1c4ca176578468cd64 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Fri, 28 Aug 2026 11:47:40 +0200 Subject: [PATCH] no need of if as anything failing before the consequent jobs are skipped anyway --- .github/workflows/pr_synchronize_trigger.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/pr_synchronize_trigger.yaml b/.github/workflows/pr_synchronize_trigger.yaml index 7c32e195b..822f06484 100644 --- a/.github/workflows/pr_synchronize_trigger.yaml +++ b/.github/workflows/pr_synchronize_trigger.yaml @@ -19,9 +19,6 @@ jobs: name: Check PR Validation runs-on: ubuntu-latest - outputs: - should_run_detector_labels: ${{ steps.check.outputs.should_run_detector_labels }} - steps: - name: Check PR Validation result id: check @@ -130,25 +127,12 @@ jobs: `PR Validation for PR #${prNumber} succeeded. Running detector labels.` ); - core.setOutput( - 'should_run_detector_labels', - 'true' - ); - detector-labels: name: Detect detector labels on synchronize needs: check-validation - - if: > - ${{ - needs.check-validation.outputs.should_run_detector_labels == 'true' - }} - uses: ./.github/workflows/pr_detector_labels.yaml - with: pr_number: ${{ github.event.pull_request.number }} - permissions: pull-requests: write issues: read