-
由 Will Chen 提交于
## Summary - Re-triggers CI after Claude Code pushes commits by closing and reopening the PR (workaround for GITHUB_TOKEN commits not triggering workflows) - Updates pr-fix command to post a summary comment on the PR when done, with collapsible details ## Background When Claude Code pushes commits using `GITHUB_TOKEN`, GitHub's anti-recursion protection prevents other workflows from triggering. This PR adds a step to close and reopen the PR after Claude pushes, which triggers the `reopened` event that CI listens for. Also adds instructions to the pr-fix command to have Claude post a summary comment on the PR summarizing what was done. ## Test plan - [ ] Verify CI re-triggers after Claude Code pushes commits - [ ] Verify summary comment is posted on the PR #skip-bugbot
🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2339"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Automatically re-triggers CI after Claude Code pushes and adds a clear PR summary comment when pr-fix completes. This avoids missed builds from GITHUB_TOKEN commits and helps reviewers see what changed. - **New Features** - Detects new commits from Claude and re-triggers CI by closing/reopening the PR (uses HEAD tracking, GitHub API, and a reopen retry for reliability). - pr-fix posts a success/failure summary comment with addressed review items, CI fixes, remaining issues, collapsible details, plus a workflow run link; handles comment failures and missing env vars gracefully. <sup>Written for commit 77be40a076e264333efb046a81fbc6920b5adc64. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by:Claude Opus 4.5 <noreply@anthropic.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| commands/dyad | ||
| hooks | ||
| skills/multi-pr-review | ||
| settings.json |