Skip to content

React on issues opened and fall back to issue body#178

Merged
ondrejmirtes merged 1 commit into2.0.xfrom
react-on-issue-opened
Feb 19, 2026
Merged

React on issues opened and fall back to issue body#178
ondrejmirtes merged 1 commit into2.0.xfrom
react-on-issue-opened

Conversation

@phpstan-bot
Copy link
Copy Markdown

Summary

  • Add issues: types: [opened] trigger to the claude-react-on-comment workflow so it also fires when issues are opened
  • Add github.event.issue.body as a fallback in the COMMENT_BODY env variable, so the trigger phrase check works for newly opened issue bodies

Test plan

  • Open a new issue containing @phpstan-bot in the body and verify the workflow triggers
  • Verify existing comment and review triggers still work as before

🤖 Generated with Claude Code

Add `issues: types: [opened]` trigger so the workflow also reacts when
issues are opened (not only on comments and reviews). Add
`github.event.issue.body` as a fallback in COMMENT_BODY so the trigger
phrase check works for issue bodies too.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit 49efeb2 into 2.0.x Feb 19, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants