Skip to content

Commit a556d79

Browse files
authored
Merge pull request #293 from PyO3/cancel-redundant-jobs
Automatically cancel stale CI jobs when PR content changes.
2 parents 983514d + 601d493 commit a556d79

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
- main
77
pull_request:
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
11+
cancel-in-progress: true
12+
913
jobs:
1014

1115
lint:

0 commit comments

Comments
 (0)