Skip to content

Commit b93be0b

Browse files
committed
chore(ci): fix workflow syntax issue
1 parent 3121da1 commit b93be0b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/claude.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212

1313
jobs:
1414
claude:
15+
# NOTE: For issues:edited, author_association refers to the issue author, not
16+
# the actor who performed the edit. This means an edit by a non-collaborator
17+
# could re-trigger Claude if the original author is a collaborator. In practice,
18+
# only users with write access can edit others' issues, so the risk is limited.
1519
if: |
1620
(github.event_name == 'issue_comment' &&
1721
contains(github.event.comment.body, '@claude') &&
@@ -25,10 +29,6 @@ jobs:
2529
(github.event_name == 'issues' &&
2630
(contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')) &&
2731
contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.issue.author_association))
28-
# NOTE: For issues:edited, author_association refers to the issue author, not
29-
# the actor who performed the edit. This means an edit by a non-collaborator
30-
# could re-trigger Claude if the original author is a collaborator. In practice,
31-
# only users with write access can edit others' issues, so the risk is limited.
3232
concurrency:
3333
group: claude-${{ github.repository }}-${{ github.event.issue.number || github.event.pull_request.number || github.run_id }}
3434
cancel-in-progress: true

0 commit comments

Comments
 (0)