Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(ci): skip claude-mention for bot-authored issues (#1429)
worktrunk-bot66e8c27c4451
diff --git a/.github/CLAUDE.md b/.github/CLAUDE.mdindex fadb379df..f56fa96dc 100644--- a/.github/CLAUDE.md+++ b/.github/CLAUDE.md@@ -138,6 +138,7 @@ The mention workflow runs for any user who includes `@worktrunk-bot` — the mer- Editing a comment or issue body re-triggers the same response**Does not trigger:**+- Issues authored by `worktrunk-bot` (prevents self-triggering when bot-created issues incidentally mention `@worktrunk-bot` in body text)- `worktrunk-bot`'s own comments or reviews (loop prevention)- Empty approvals on `worktrunk-bot` PRs (approved with no body)- Comments on issues or PRs where `worktrunk-bot` hasn't engaged and no `@worktrunk-bot` mentiondiff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yamlindex 03e45b098..10383d6e7 100644--- a/.github/workflows/claude-mention.yaml+++ b/.github/workflows/claude-mention.yaml@@ -37,7 +37,8 @@ jobs:# for the same reason.)if: |(github.event_name == 'issues' &&- contains(github.event.issue.body, '@worktrunk-bot')) ||+ contains(github.event.issue.body, '@worktrunk-bot') &&+ github.event.issue.user.login != 'worktrunk-bot') ||(github.event_name == 'issue_comment' &&github.event.comment.user.login != 'worktrunk-bot') ||(github.event_name == 'pull_request_review_comment' &&