Skip to content

Commit

Permalink
ci: Add concurrency to top-level workflows (#1737)
Browse files Browse the repository at this point in the history
So that a failure stops all CI for a PR.
  • Loading branch information
larseggert authored Mar 12, 2024
1 parent 2ff9742 commit 66d8365
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
paths: [".github/**"]
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
actionlint:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/qns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches: ["main"]
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
quic-network-simulator:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 66d8365

Please sign in to comment.