Skip to content

Commit f5d5295

Browse files
committed
allow concurrent runs on push to main and release branches
Signed-off-by: Rahul Sharma <[email protected]>
1 parent 4460ed1 commit f5d5295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
- release-*
2323

2424
concurrency:
25-
group: ${{ github.workflow }}-pr-${{ github.event.pull_request.number || github.ref }}
25+
group: ${{ github.workflow }}-${{ startsWith(github.ref, 'refs/heads/pull-request/') && github.ref || github.run_id }}
2626
cancel-in-progress: true
2727

2828
jobs:

0 commit comments

Comments
 (0)