fix: enable delete_branch_on_merge on .github repo#222
Conversation
|
Warning Review limit reached
More reviews will be available in 23 minutes and 18 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. 📝 WalkthroughWalkthroughThe PR updates ChangesCompliance Status Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
@petry-projects/org-leads — this PR is ready for review. It fixes the recurring compliance finding for |
There was a problem hiding this comment.
Pull request overview
Updates the GitHub settings standards documentation to reflect remediation of the .github repo’s delete_branch_on_merge compliance finding and removes an outdated “fully compliant” status claim.
Changes:
- Replaces the stale “All 7 repos are fully compliant as of 2026-04-05” statement with a specific note about applying
delete_branch_on_mergeto the.githubrepo on 2026-05-08. - Documents the exact
gh apicommand used and adds guidance to re-apply standard settings viascripts/apply-repo-settings.sh --allwhen drift is detected.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The merge-base changed after approval.
|
Auto-rebase failed — merge conflict — this branch has conflicts with Please resolve the conflicts and push: |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4333932 to
6a9f6c0
Compare
Superseded by automated re-review at
|
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: 3f3284b1e786c628c6473c6ab236636974ea7ef1
Cascade: triage → deep (triage: haiku 4.5 → deep: sonnet 4.6 + duck: o4-mini → audit: opus 4.7)
Summary
This is a documentation-only PR whose diff is now empty because the compliance status in standards/github-settings.md was already updated on main (by a subsequent remediation run that set all 7 repos compliant as of 2026-05-13). The actual fix — setting delete_branch_on_merge=true on petry-projects/.github via the GitHub API — was applied correctly and the API returns true; issue #108 was auto-closed by the compliance audit on 2026-05-13. All CI checks are green, merge conflicts are resolved, and merging this PR is a safe no-op.
Findings
- INFO: PR has 0 additions and 0 deletions. The documentation change to standards/github-settings.md that this PR originally introduced was superseded by a subsequent update to main (compliance status now reads 'All 7 repos are fully compliant as of 2026-05-13'). Merging this PR will make no file changes.
- INFO: Issue #108 was auto-closed by the compliance audit on 2026-05-13 confirming delete_branch_on_merge=true is active. The GitHub API currently returns true for this setting on petry-projects/.github.
- INFO: Triage flagged an unresolved merge conflict (auto-rebase failure on 2026-05-12). This was subsequently resolved — mergeable=MERGEABLE as of the current HEAD (3f3284b). Two manual merge-main-into-branch commits were pushed on 2026-05-14.
- INFO: The prior review cycle (SHA 3c0a1c0) emitted fix-requested with an unpopulated findings template. No substantive changes have been pushed since that review; the status change (fix-requested → approve) is warranted because CI is now fully green, conflicts are resolved, and the underlying issue is closed.
Reviewed by the PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: o4-mini → audit: opus 4.7). Reply if you need a human review.
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
24 similar comments
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
@donpetry-bot I'm on it — starting a fresh review now. Results will appear in a few minutes. |
|
Dev-Lead — review-changes (no-changes)No changes were needed for this PR. |



Summary
delete_branch_on_merge=trueto thepetry-projects/.githubrepository via the GitHub API to resolve the recurring compliance findingstandards/github-settings.mdto remove the stale "all 7 repos fully compliant as of 2026-04-05" claim and record the remediationHow the fix was applied
The repository setting was explicitly set via:
The setting returned
true— confirmed compliant. The weekly compliance audit will auto-close issue #108 on its next run once it reads the corrected API state.Why the documentation change
The
standards/github-settings.mdcompliance status section contained a stale claim ("All 7 repos are fully compliant as of 2026-04-05") that was clearly incorrect given the audit has flagged this issue repeatedly since. The updated note records the specific remediation action taken and provides guidance for future drift.Closes #108
Generated with Claude Code
Summary by CodeRabbit