Skip to content

Commit 37e5a9e

Browse files
committed
chore(ci): add concurrency to cancel in-progress workflow runs
- Prevents duplicate CI runs on the same branch - Ensures only the latest commit triggers the test job
1 parent 695f1fc commit 37e5a9e

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
@@ -8,6 +8,10 @@ on:
88
branches:
99
- main
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
test:
1317
name: Test

0 commit comments

Comments
 (0)