Skip to content

Commit a52bdda

Browse files
authored
Only run CI on latest commit of PR branches. (#913)
Same as RustCrypto/traits#1948.
1 parent f53686f commit a52bdda

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/crypto-bigint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ env:
1515
RUSTFLAGS: "-Dwarnings"
1616
RUSTDOCFLAGS: "-Dwarnings"
1717

18+
# Cancels CI jobs when new commits are pushed to a PR branch
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
21+
cancel-in-progress: true
22+
1823
jobs:
1924
build:
2025
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)