Skip to content

Commit f14bcd0

Browse files
committed
ci: add workflow_dispatch and concurrency settings to prevent duplicate runs
1 parent 9f69fdd commit f14bcd0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches: [main, develop]
66
pull_request:
77
branches: [main, develop]
8+
workflow_dispatch:
9+
10+
# Prevent duplicate runs on the same branch/PR
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
13+
cancel-in-progress: true
814

915
env:
1016
NODE_VERSION: '20'

0 commit comments

Comments
 (0)