Skip to content

Commit b21891b

Browse files
authored
Only cancel in progress workflow runs for main.yml
1 parent 130dd30 commit b21891b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
concurrency:
1414
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
15-
cancel-in-progress: true
15+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1616

1717
jobs:
1818
build:

0 commit comments

Comments
 (0)