Repository navigation
ci: automatically delete merged pull request branches - #4
Conversation
|
Automatic approval is disabled by the configured approval policy for this pull request. Review comments and requests for changes continue normally. Next step: Have a maintainer review and approve directly in your Git provider. The approve and resolve commands do not bypass this policy. Assessed commit: No actionable comments were generated in the recent review.
|
| Setting | Effective value | Source |
|---|---|---|
| Automatic approvals | Disabled | Override 1 |
| Merge risk | Low | Global configuration |
| Security risk | Not set | Global configuration |
Matching overrides (numbered as in the resolved configuration):
- Override 1 — any author; paths:
.github/**; automatic approvals: disabled.
Any matching disabled override withholds approval, regardless of risk. Otherwise, the strictest explicitly set limit wins for each score. Limits omitted by all matching overrides inherit the global configuration.
Not set means no limit was configured after inheritance. Use @coderabbitai configuration to inspect the resolved settings and their sources.
📝 Summary
-
Summary by CodeRabbit
- Chores
- Merged pull request branches are automatically deleted after merging. Automatic merging remains enabled, so eligible pull requests can still be merged automatically.
- Documentation
- Updated repository administration guidance to cover automatic branch deletion alongside native auto-merge settings.
- Updated instructions for applying the committed repository settings to include automatic deletion of merged branches. This documents both the behavior configured for the repository and the corresponding setting to apply.
The repository settings now enable automatic deletion of branches after merge while retaining automatic merging. The documentation describes both settings and how to apply them.
Changes: Repository controls
Layer / File(s) Summary Configure branch deletion after merge
.github/settings/repository.json,docs/SECURING.mdThe settings retain automatic merging and add branch deletion after merge. The documentation describes both controls and how to enable them. Priority:
LowEstimated code review effort: 1 (Trivial) | ~5 minutes
Change: Other
Possibly related PRs
- acgetchell/Papers#3: Adds automatic merging to the repository settings and documents that control, which this change extends.
- Chores
Merge Risk: 
Minimal · up to 2fbc2
-
The branch-cleanup configuration and documentation are consistent and ready to merge.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Merged pull-request branches were left behind because automatic branch deletion was disabled. Enable
delete_branch_on_mergein the checked-in repository settings and document the setting alongside native auto-merge.The hosted GitHub setting has already been enabled and read back as
true; this PR records that configuration. Existing auto-merge and review protections remain in place.Validation:
just check,just ci(36 tests), andgit diff --checkpassed. No manuscript or build inputs changed.