Skip to content

Commit 9f47da5

Browse files
hovinenbcopybara-github
authored andcommitted
Cancel GitHub CI workflows which are running on old commits.
This conserves GitHub resources, since the old workflows are no longer relevant. PiperOrigin-RevId: 523945642
1 parent 9c5e28a commit 9f47da5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ "main" ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
11+
cancel-in-progress: true
12+
913
permissions: read-all
1014

1115
env:

0 commit comments

Comments
 (0)