Skip to content

Commit 7f42e7b

Browse files
authored
cancel old pr runs on new push
1 parent 735be14 commit 7f42e7b

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
@@ -13,6 +13,10 @@ on:
1313
# Daily at 05:47
1414
- cron: '47 5 * * *'
1515

16+
concurrency:
17+
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}
18+
cancel-in-progress: true
19+
1620
env:
1721
PIP_NO_PYTHON_VERSION_WARNING: 1
1822

0 commit comments

Comments
 (0)