Skip to content

Commit 9fc2a28

Browse files
committed
ci: 🎡 add github action concurrency
1 parent 41a577e commit 9fc2a28

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ on:
99
branches:
1010
- main
1111
pull_request:
12-
branches:
13-
- main
14-
- 'feat/**'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
1516

1617
jobs:
1718
build:

0 commit comments

Comments
 (0)