Repository navigation
Conversation
Add trigger_phrase "@worktrunk-bot" to both workflows to explicitly define the mention required to activate Claude. Update claude-review workflow prompt to dynamically handle pull_request_review events with full context about the review and PR, replacing the static prompt with a format that includes the review URL and instructs Claude to read full context before responding.
worktrunk-bot
approved these changes
Mar 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
claude-code-actiondefaultstrigger_phraseto@claude. Whenclaude-review.yamlhandledpull_request_reviewevents on bot-authored PRs, it passed an empty prompt (''), causing the action to fall back to trigger detection — which looked for@claudein the review text. Since nobody writes@claudein reviews, the action always skipped. This meant formal reviews on bot-authored PRs were silently ignored byclaude-review(only handled incidentally viaclaude-mention'spull_request_review_commentpath when inline comments were present).Two fixes:
trigger_phrase: "@worktrunk-bot"in both interactive workflows (claude-review,claude-mention) so the action never defaults to@claudepull_request_reviewpath inclaude-review.yaml, so the action runs the prompt directly instead of falling back to trigger detectionThe five automated workflows (ci-fix, hourly, nightly, renovate, triage) are unchanged — they all provide explicit prompts, making
trigger_phraseirrelevant.Evidence from PR #1557: run 23132865052 logged
No trigger was met for @claude/Context prompt: NO PROMPT/No trigger found, skipping remaining stepsdespite the workflow'sif:condition correctly selecting the event.