Skip to content

Commit a4685e3

Browse files
committed
Automatically cancel outdated CI runs on PR
1 parent 2f485a4 commit a4685e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ env:
1717
RUSTFLAGS: -D warnings
1818
RUSTUP_MAX_RETRIES: 10
1919

20+
defaults:
21+
run:
22+
shell: bash
23+
24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
26+
cancel-in-progress: true
27+
2028
jobs:
2129
build:
2230
name: Build on Linux

0 commit comments

Comments
 (0)