fix: add repository block to settings.yml for allow_auto_merge#218
fix: add repository block to settings.yml for allow_auto_merge#218
Conversation
Declaratively manage allow_auto_merge: true via probot/settings to prevent future drift. Also adds delete_branch_on_merge: true and has_wiki: false to match standard defaults. Closes #163 Co-authored-by: don-petry <don-petry@users.noreply.github.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 46 minutes and 13 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Self-review complete - change adds the repository block to .github/settings.yml with allow_auto_merge: true, delete_branch_on_merge: true, and has_wiki: false. Format is correct for probot/settings. CI is passing. Note: PR 185 contains the identical fix but has been waiting for merge since 2026-04-14, this PR supersedes it. @don-petry as CODEOWNER, please review and merge to resolve the recurring compliance audit finding. |
|
There was a problem hiding this comment.
Pull request overview
This PR makes allow_auto_merge (and related standard repository settings) declaratively managed via probot/settings by adding a repository block to .github/settings.yml, preventing the setting from drifting back to null on subsequent runs.
Changes:
- Added a
repositorysection to.github/settings.ymlwithallow_auto_merge: true - Also set
delete_branch_on_merge: trueandhas_wiki: falseto match the referenced standard defaults



Summary
repositoryblock to.github/settings.ymlwithallow_auto_merge: trueso the setting is declaratively managed via probot/settingsdelete_branch_on_merge: trueandhas_wiki: falseto match the full standard defaultsRoot Cause
The compliance audit has been finding
allow_auto_merge: nullperiodically. While the API-level setting gets patched totrue, without it being declared in.github/settings.yml, probot/settings can reset it on subsequent runs. This PR makes the setting authoritative and prevents future drift.Note: PR #185 contains the identical fix but has not been merged. This supersedes it.
Closes #163
Generated with Claude Code