Skip to content

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

fix(ci): renovate should close superseded PRs; review-pr should comment on CI failures for self-authored PRs (#1539)

worktrunk-botfa0b55784b7d
diff --git a/.claude/skills/review-pr/SKILL.md b/.claude/skills/review-pr/SKILL.md
index 4a074c02b..2c02b17cf 100644
--- a/.claude/skills/review-pr/SKILL.md
+++ b/.claude/skills/review-pr/SKILL.md
@@ -202,7 +202,8 @@ review as a COMMENT.
**Self-authored PRs** (`PR_AUTHOR == BOT_LOGIN`): Do NOT attempt
`gh pr review --approve` — GitHub rejects self-approvals. Submit as COMMENT
-when there are concerns, or stay silent and skip to step 5.
+when there are concerns, or stay silent and skip to step 5. Always post CI
+failure analysis as a COMMENT, even on self-authored PRs.
**Not confident enough to approve** (unfamiliar module, subtle logic): Add a
`+1` reaction instead — no review needed unless there are specific observations.
diff --git a/.github/workflows/claude-renovate.yaml b/.github/workflows/claude-renovate.yaml
index dd524e204..3d5ab516f 100644
--- a/.github/workflows/claude-renovate.yaml
+++ b/.github/workflows/claude-renovate.yaml
@@ -112,6 +112,12 @@ jobs:
🤖 Automated weekly renovation
```
+ ## Clean up superseded PRs
+
+ After creating the renovation PR, close any dependabot or other automated PRs that are fully superseded by your changes. For each:
+ 1. Leave a comment explaining the PR is superseded (e.g., "Superseded by #NNN which includes this update along with other renovations.")
+ 2. Close the PR with `gh pr close <number>`
+
## If no updates are needed
Simply report that all dependencies are up to date. Don't create a PR.