Skip to content

Commit

Permalink
fix: refine concurrency policy of check-urls.yml workflow (EbookFou…
Browse files Browse the repository at this point in the history
…ndation#7096)

* fix: refine `check-urls.yml` workflow concurrency policy

This parametrization makes don't fail with a cancellation

EbookFoundation@25a0581#comments

* typo: concurrency code comment
  • Loading branch information
davorpa authored Sep 21, 2022
1 parent 5fd7050 commit e301da9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e301da9

Please sign in to comment.