Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(ci): set trigger_phrase and provide review-response prompt (#1649)
Maximilian Roos3e7ef88ba1b9
diff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yamlindex 92f34f071..e5f54d422 100644--- a/.github/workflows/claude-mention.yaml+++ b/.github/workflows/claude-mention.yaml@@ -204,6 +204,7 @@ jobs:bot_name: "worktrunk-bot"allowed_non_write_users: '*'+ trigger_phrase: "@worktrunk-bot"additional_permissions: |actions: readdiff --git a/.github/workflows/claude-review.yaml b/.github/workflows/claude-review.yamlindex 7cef076a1..53d67be76 100644--- a/.github/workflows/claude-review.yaml+++ b/.github/workflows/claude-review.yaml@@ -81,8 +81,16 @@ jobs:allowed_non_write_users: "*"additional_permissions: |actions: read+ trigger_phrase: "@worktrunk-bot"use_sticky_comment: ${{ github.event_name == 'pull_request_target' }}- prompt: ${{ github.event_name == 'pull_request_target' && format('/review-pr {0}', github.event.pull_request.number) || '' }}+ prompt: >-+ ${{ github.event_name == 'pull_request_target'+ && format('/review-pr {0}', github.event.pull_request.number)+ || format(+ 'A review was submitted on your PR #{0} ({1}). Read the review and full PR context (description, diff, comments, CI status), then respond appropriately. If changes were requested, make them, commit, and push. If questions were asked, answer them.',+ github.event.pull_request.number,+ github.event.review.html_url+ ) }}claude_args: |--model opus--allowedTools Bash,Edit,Read,Write,Glob,Grep,WebSearch,WebFetch,Task,Skill