Skip to content

Commit 601d493

Browse files
committed
Automatically cancel stale CI jobs when PR content changes.
1 parent 983514d commit 601d493

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)