Skip to content

Commit 49076fd

Browse files
fix: improve concurrency group to prevent workflow conflicts
Update concurrency group to use PR number for better isolation. This prevents new commits from cancelling unrelated workflow runs. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 9c5f9f7 commit 49076fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: on pull request
22
on: pull_request
33

44
concurrency:
5-
group: ${{ github.workflow }}-${{ github.ref }}
5+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
66
cancel-in-progress: true
77

88
env:

0 commit comments

Comments
 (0)