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-lint-jobs',
|
||||||
'project-test-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:
|
steps:
|
||||||
- uses: 'actions/checkout@v4'
|
- uses: 'actions/checkout@v4'
|
||||||
name: 'Checkout'
|
name: 'Checkout'
|
||||||
|
@ -273,7 +273,7 @@ jobs:
|
||||||
'project-jobs',
|
'project-jobs',
|
||||||
'project-test-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:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Reference in New Issue