Skip to content

ci: adopt reusable auto-arm-merge workflow#72

Open
chitcommit wants to merge 1 commit into
mainfrom
feat/auto-arm-merge
Open

ci: adopt reusable auto-arm-merge workflow#72
chitcommit wants to merge 1 commit into
mainfrom
feat/auto-arm-merge

Conversation

@chitcommit

Copy link
Copy Markdown
Member

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

  • After merge, open a test PR and confirm auto-merge is armed
  • Open a draft PR and confirm it's skipped

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@chitcommit, we couldn't start this review because you've reached your PR review rate limit.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 62849e0b-c0e0-4b96-b4d8-21960b3a08eb

📥 Commits

Reviewing files that changed from the base of the PR and between cc2eaba and cfd3bb6.

📒 Files selected for processing (1)
  • .github/workflows/auto-arm-merge.yml

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: Too big: expected string to have <=250 characters at "tone_instructions"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/auto-arm-merge

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

types: [opened, ready_for_review, reopened]
jobs:
arm:
uses: chittyfoundation/.github/.github/workflows/auto-arm-merge.yml@main

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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>
@chitcommit chitcommit force-pushed the feat/auto-arm-merge branch from 5222a31 to cfd3bb6 Compare June 4, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants