Skip to content

Commit 947f056

Browse files
committed
Only run CI on latest commit of PR branches.
1 parent d751568 commit 947f056

24 files changed

+120
-0
lines changed

.github/workflows/ascon-hash.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
RUSTFLAGS: "-Dwarnings"
1818
CARGO_INCREMENTAL: 0
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/belt-hash.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/blake2.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/fsb.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/gost94.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/groestl.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/jh.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/k12.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/kupyna.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ env:
2020
CARGO_INCREMENTAL: 0
2121
RUSTFLAGS: "-Dwarnings"
2222

23+
# Cancels CI jobs when new commits are pushed to a PR branch
24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
26+
cancel-in-progress: true
27+
2328
jobs:
2429
set-msrv:
2530
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

.github/workflows/md2.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ env:
1717
CARGO_INCREMENTAL: 0
1818
RUSTFLAGS: "-Dwarnings"
1919

20+
# Cancels CI jobs when new commits are pushed to a PR branch
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
23+
cancel-in-progress: true
24+
2025
jobs:
2126
set-msrv:
2227
uses: RustCrypto/actions/.github/workflows/set-msrv.yml@master

0 commit comments

Comments
 (0)