fix: enable delete_branch_on_merge in settings.yml for compliance#217
fix: enable delete_branch_on_merge in settings.yml for compliance#217
Conversation
Add `delete_branch_on_merge: true` under the `repository:` section of .github/settings.yml so probot/settings declaratively enforces automatic head-branch deletion after every PR merge. Closes #164 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 16 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 |
|
@don-petry — This PR is ready for review and merge. What this does: Adds Note: This supersedes the two earlier open PRs (#184 and #200) that made the identical change but were not merged. Once this PR is merged, you may close those as duplicates. This is a config-only YAML change with no code impact — CI should pass cleanly. |
|
There was a problem hiding this comment.
Pull request overview
Adds a declarative repository setting to ensure Probot Settings enforces automatic deletion of head branches after PR merges, addressing the compliance finding in #164.
Changes:
- Added a top-level
repository:section to.github/settings.yml - Set
repository.delete_branch_on_merge: truewith an inline standards reference



Summary
delete_branch_on_merge: trueunder therepository:section of.github/settings.ymlBackground
Previous PRs #184 and #200 implemented the same fix but were not merged. This PR supersedes both. The GitHub API already returns
delete_branch_on_merge: true(set manually), but without it in the declarative config, probot/settings could silently reset it on any future run.Changes
.github/settings.yml: Addedrepository.delete_branch_on_merge: trueCloses #164
Generated with Claude Code