Skip to content

Commit 771bf40

Browse files
authored
[ci] Cancel the pending PR builds on a new push. (#14445)
1 parent a5acf31 commit 771bf40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/root-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ env:
7575
OS_INTERFACE: 'public'
7676
OS_REGION_NAME: 'cern'
7777

78+
concurrency:
79+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
80+
cancel-in-progress: true
81+
7882
jobs:
7983
build-macos:
8084
if: github.repository_owner == 'root-project' || github.event_name == 'pull_request'

0 commit comments

Comments
 (0)