Skip to content

Commit 61cb333

Browse files
authored
cancel old pr runs on new push
1 parent ca7b924 commit 61cb333

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
@@ -8,6 +8,10 @@ on:
88
- v*
99
pull_request:
1010

11+
concurrency:
12+
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
ci:
1317
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)