Skip to content

Commit 05338dd

Browse files
committed
ci: Allow subsequent pushes to the same PR or REF to cancel any previous jobs.
Signed-off-by: Larry Gritz <[email protected]>
1 parent 82d23d0 commit 05338dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ on:
3636

3737
permissions: read-all
3838

39+
# Allow subsequent pushes to the same PR or REF to cancel any previous jobs.
40+
concurrency:
41+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
42+
cancel-in-progress: true
43+
3944

4045
jobs:
4146

0 commit comments

Comments
 (0)