mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2025-01-29 13:55:06 +00:00
fix: refine concurrency policy of check-urls.yml
workflow (#7096)
* fix: refine `check-urls.yml` workflow concurrency policy
This parametrization makes don't fail with a cancellation
25a05812f7 (comments)
* typo: concurrency code comment
This commit is contained in:
parent
5fd70502a0
commit
e301da9838
6
.github/workflows/check-urls.yml
vendored
6
.github/workflows/check-urls.yml
vendored
@ -7,10 +7,10 @@ on:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# This allows a subsequently queued workflow run to interrupt previous runs
|
||||
# This allows a subsequently queued workflow run to interrupt/wait for previous runs
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref || github.run_id }}'
|
||||
cancel-in-progress: true
|
||||
group: '${{ github.workflow }} @ ${{ github.run_id }}'
|
||||
cancel-in-progress: false # true = interrupt, false = wait
|
||||
|
||||
jobs:
|
||||
check-urls:
|
||||
|
Loading…
Reference in New Issue
Block a user