diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2938587c8e6..9f2a4baa327 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -236,7 +236,7 @@ jobs: 'project-lint-jobs', 'project-test-jobs', ] - if: ${{ always() && github.event_name != 'pull_request' && ! github.event.pull_request.head.repo.fork }} + if: ${{ !cancelled() && github.event_name != 'pull_request' && ! github.event.pull_request.head.repo.fork }} steps: - uses: 'actions/checkout@v4' name: 'Checkout' @@ -273,7 +273,7 @@ jobs: 'project-jobs', 'project-test-jobs', ] - if: ${{ always() && needs.project-jobs.outputs.report-jobs != '[]' && ! github.event.pull_request.head.repo.fork }} + if: ${{ !cancelled() && needs.project-jobs.outputs.report-jobs != '[]' && ! github.event.pull_request.head.repo.fork }} strategy: fail-fast: false matrix: