ci: adopt reusable auto-arm-merge workflow#72
Conversation
|
Warning Review limit reached
More reviews will be available in 33 minutes and 4 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Warning
|
| types: [opened, ready_for_review, reopened] | ||
| jobs: | ||
| arm: | ||
| uses: chittyfoundation/.github/.github/workflows/auto-arm-merge.yml@main |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5222a31184
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| types: [opened, ready_for_review, reopened] | ||
| jobs: | ||
| arm: | ||
| uses: chittyfoundation/.github/.github/workflows/auto-arm-merge.yml@main |
There was a problem hiding this comment.
Grant write permissions to arm auto-merge
In repositories or organizations where the default GITHUB_TOKEN permissions are read-only, this caller invokes the reusable workflow without passing contents: write/pull-requests: write, so the downstream gh pr merge --auto --squash --delete-branch step cannot enable auto-merge. Reusable workflows receive the caller job's token permissions and nested workflows cannot elevate them, so add explicit permissions on this workflow/job before calling the shared workflow.
Useful? React with 👍 / 👎.
Calls chittyfoundation/.github reusable workflow to arm auto-merge --squash --delete-branch on every non-draft PR. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5222a31 to
cfd3bb6
Compare
Summary
Adopts the reusable auto-arm-merge workflow from chittyfoundation/.github (see chittyfoundation/.github#7). On every non-draft PR open / ready_for_review / reopen, this arms 'gh pr merge --auto --squash --delete-branch'.
Squash ruleset already locked on this repo; required checks still gate the actual merge.
Skip conditions
Drafts, dependabot/renovate, titles starting with WIP/[WIP]/Draft:/DO NOT MERGE, forks.
Test plan
🤖 Generated with Claude Code