Skip to content

Comments

React on issues opened and add issue body fallback#190

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

React on issues opened and add issue body fallback#190
ondrejmirtes merged 1 commit into2.0.xfrom
react-on-issues-opened

Conversation

@phpstan-bot
Copy link

Summary

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

Test plan

  • Open a new issue with @phpstan-bot in the body and verify the workflow triggers
  • Verify existing triggers (issue comments, PR reviews, PR review comments) still work

🤖 Generated with Claude Code

Add `issues: types: [opened]` trigger so the workflow also fires when
new issues are opened with the trigger phrase, not only on comments and
reviews.

Update the COMMENT_BODY env to fall back to `github.event.issue.body`
so the trigger-phrase check works for newly opened issues.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit 7c31499 into 2.0.x Feb 19, 2026
36 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