Skip to content

Commit 5d28cea

Browse files
committed
Only cancel in progress workflow runs for pull requests
1 parent 951e670 commit 5d28cea

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)