Skip to content

Commit 335b431

Browse files
committed
Automatically cancel outdated CI runs on PR
1 parent 4b9dddf commit 335b431

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
@@ -24,6 +24,10 @@ defaults:
2424
run:
2525
shell: bash
2626

27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
29+
cancel-in-progress: true
30+
2731
jobs:
2832
test:
2933
name: cargo test (${{ matrix.os }})

0 commit comments

Comments
 (0)