Skip to content

Commit 1c41e07

Browse files
authored
Merge pull request NixOS#14385 from lovesegfault/ci-concurrency-group
ci: cancel previous workflow runs on PR updates
2 parents 8e6b69d + ad664ce commit 1c41e07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
default: true
1515
type: boolean
1616

17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
19+
cancel-in-progress: true
20+
1721
permissions: read-all
1822

1923
jobs:

0 commit comments

Comments
 (0)