CI: fixes for handling workflow cancellation. (#49709)
This commit is contained in:
parent
86ec35c599
commit
419a538901
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue