Add cc:rebase label-triggered workflow for PR rebasing (#2504)
## Summary
- Adds a GitHub workflow that triggers when the `cc:rebase` label is
added to a PR
- Runs Claude Code with `/dyad:pr-rebase` to automatically rebase the PR
branch
- Only allows trusted maintainers (wwwillchen, wwwillchen-bot,
azizmejri1, princeaden1)
- Swaps `cc:rebase` → `cc:rebasing` while running, removes on success or
adds `cc:rebase-failed` on failure
## Test plan
- [ ] Add `cc:rebase` label to a PR and verify the workflow triggers
- [ ] Verify the workflow correctly runs `/dyad:pr-rebase`
- [ ] Verify label transitions work correctly
#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/2504">
<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
Adds a label-triggered workflow to auto-rebase PRs and show status via
labels. Only trusted maintainers can trigger it.
- **New Features**
- Triggers on cc:rebase and runs /dyad:pr-rebase via
anthropics/claude-code-action@v1.
- Limits use to these authors: wwwillchen, wwwillchen-bot, azizmejri1,
princeaden1.
- Label flow: cc:rebase → cc:rebasing; removes on success; adds
cc:rebase-failed on failure.
<sup>Written for commit 24d7909963a41752f0e9dd68bf13c8820a59d8b9.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论