Skip to content

Commit 7a3a24b

Browse files
authored
Only cancel in progress workflow runs for pull requests (#352)
1 parent 3a2bf54 commit 7a3a24b

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
- cron: '30 20 * * *' # Warning: Timezone dep - 20:00 is 1:00
1313

1414
concurrency:
15-
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
1616
cancel-in-progress: true
1717

1818
jobs:

0 commit comments

Comments
 (0)