Skip to content

Commit 623c14a

Browse files
committed
CI: Mitigate redundant job executions
1 parent 09fbefe commit 623c14a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ on:
66
push:
77
branches: [ main ]
88

9+
# Allow job to be triggered manually.
10+
workflow_dispatch:
11+
12+
# Cancel in-progress jobs when pushing to the same branch.
13+
concurrency:
14+
cancel-in-progress: true
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
917
jobs:
1018

1119
tests:

0 commit comments

Comments
 (0)