Skip to content

Commit b1bd05e

Browse files
Cancel old runs on the same PR on every new push (#4986)
2 parents 46fb6e4 + 0194607 commit b1bd05e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- testnet
1111
- acceptance-test-pass
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418

1519
complete:

.github/workflows/clang-19-static-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- testnet
1111
- acceptance-test-pass
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
clang-19-compile:
1519
runs-on: ubuntu-latest-16-cores

0 commit comments

Comments
 (0)