Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: only add eyes reaction when bot is explicitly mentioned (#1179)

Maximilian Roosaa87a118dc77
diff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yaml
index ad8aec4cd..d55598aa8 100644
--- a/.github/workflows/claude-mention.yaml
+++ b/.github/workflows/claude-mention.yaml
@@ -110,7 +110,13 @@ jobs:
git config --global user.email "[email protected]"
- name: πŸ‘€ React to comment
- if: steps.verify.outcome != 'failure' && github.event.comment
+ # Only react when explicitly mentioned. For bot-engaged conversations
+ # without a mention, the bot may exit silently β€” adding πŸ‘€ would
+ # create a false expectation of a response.
+ if: >-
+ steps.verify.outcome != 'failure'
+ && github.event.comment
+ && contains(github.event.comment.body, '@worktrunk-bot')
run: |
# Try issue comment endpoint first, then review comment endpoint.
# One will match depending on the comment type.