Skip to content

Commit 0c43ff5

Browse files
authored
Merge pull request #243 from python-desert/cancel_old_pr_runs
cancel old pr runs on new push
2 parents ca7b924 + 61cb333 commit 0c43ff5

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)