Skip to content

Commit 0835bbf

Browse files
committed
ci: set workflow group and cancellation rule
1 parent 098739b commit 0835bbf

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
@@ -15,6 +15,10 @@ permissions:
1515
env:
1616
CI: true
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
20+
cancel-in-progress: ${{ github.event_name != 'push' }}
21+
1822
jobs:
1923
build:
2024
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)