Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: Claude Code
on:
issue_comment:
types: [created]
# `edited` matters as much as `created`: mega-putin acks feedback with a
# placeholder the moment it picks the work up and rewrites that same
# comment into the real answer minutes later, so the answer only ever
# arrives as an edit. Jobs that must not re-fire on an edit pin
# `github.event.action == 'created'` themselves.
types: [created, edited]
pull_request_review_comment:
types: [created]
pull_request_review:
Expand All @@ -15,6 +20,7 @@ jobs:
interactive:
if: |
(github.event_name == 'issue_comment' &&
github.event.action == 'created' &&
contains(github.event.comment.body, '@claude') &&
(github.event.comment.author_association == 'MEMBER' ||
github.event.comment.author_association == 'COLLABORATOR' ||
Expand Down Expand Up @@ -64,7 +70,8 @@ jobs:
github.event.action == 'reopened')) ||
(github.event_name == 'issue_comment' &&
github.event.issue.pull_request != null &&
github.event.comment.user.login != 'mega-maxwell[bot]')
github.event.comment.user.login != 'mega-maxwell[bot]' &&
!contains(github.event.comment.body, 'claude-review:skip'))
runs-on: ubuntu-24.04
timeout-minutes: 30
permissions:
Expand Down
Loading