Skip to content

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

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

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

Conversation

@phpstan-bot
Copy link

Summary

  • Add issues: [opened] event trigger to the react-on-comment workflow so it also fires when a new issue is created containing the trigger phrase.
  • Update the COMMENT_BODY fallback chain to include github.event.issue.body, ensuring the issue body is checked when the event is an issue open (not a comment or review).

Test plan

  • Verify the workflow triggers when a new issue is opened with @phpstan-bot in the body.
  • Verify existing triggers (issue comments, PR reviews, PR review comments) continue to work.

🤖 Generated with Claude Code

Add `issues: [opened]` event trigger so the workflow also reacts
when a new issue is created with the trigger phrase. Update the
COMMENT_BODY fallback chain to include `github.event.issue.body`
so the body is correctly read for issue events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit e8e9032 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

Comments