Skip to content

Commit ede0ad6

Browse files
authored
Fix: claude action concurrency group (#5680)
I originally thought that claude can only be triggered from the PR itself. Signed-off-by: Connor Tsui <[email protected]>
1 parent cb065dd commit ede0ad6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/claude.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Claude Code
22

33
concurrency:
44
# We shouldn't have multiple instances of Claude running on the same PR.
5-
group: ${{ github.event.issue.number || github.event.pull_request.number }}
6-
cancel-in-progress: true
5+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
6+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
77

88
on:
99
issue_comment:

0 commit comments

Comments
 (0)