Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
ci: review Dependabot PRs and enable fix handoff (#1128)
Maximilian Roosf48e375df2c6
diff --git a/.claude/skills/pr-review/SKILL.md b/.claude/skills/pr-review/SKILL.mdindex 1feb42f59..ebc358ec4 100644--- a/.claude/skills/pr-review/SKILL.md+++ b/.claude/skills/pr-review/SKILL.md@@ -249,6 +249,30 @@ fixed line content heredirect suggestion.- Multi-line suggestions: set `start_line` and `line` to define the range.+### 6. Request fixes on bot PRs++The review workflow is read-only (`contents: read`) and cannot push fixes. For+bot PRs (Dependabot, renovate, etc.), request fixes via the `@claude` mention+workflow, which has write access and can push commits to the PR branch.++**When to use:** The review found concrete, fixable issues (CI failures, missing+test updates, small code problems) on a bot-authored PR. Don't use this for+human PRs — leave suggestions for the author instead.++After submitting the review, post a separate comment:++```bash+gh pr comment <number> --body "@claude The review found issues on this Dependabot PR. Please fix:++- [specific issue 1]+- [specific issue 2]++See the review comments for details."+```++This triggers the `claude-mention` workflow, which checks out the PR branch,+applies fixes, and pushes. CI reruns automatically.+## How to provide feedback- Use inline review comments for specific code issues. Prefer suggestion formatdiff --git a/.github/workflows/claude-review.yaml b/.github/workflows/claude-review.yamlindex f617fc654..929368f64 100644--- a/.github/workflows/claude-review.yaml+++ b/.github/workflows/claude-review.yaml@@ -1,7 +1,7 @@name: claude-review# Runner versions pinned; see ci.yaml header comment for rationale.-# Automatic code review on PRs from external contributors.+# Automatic code review on non-draft PRs.# Uses pull_request_target so secrets are available for fork PRs.on:pull_request_target:@@ -17,13 +17,12 @@ env:jobs:review:- # Skip draft PRs and bot PRs (e.g. Dependabot)+ # Skip draft PRs.# To skip PRs from repo members, uncomment the author_association conditions:# github.event.pull_request.author_association != 'OWNER' &&# github.event.pull_request.author_association != 'MEMBER' &&if: >-- github.event.pull_request.draft == false &&- github.event.pull_request.user.type != 'Bot'+ github.event.pull_request.draft == falseruns-on: ubuntu-24.04permissions:contents: read # Read-only: review workflow should not push code