Skip to content

feat(bootstrap): auto-merge prune baseline PRs - #27

Merged
CMaintz merged 1 commit into
mainfrom
ci/prune-automerge-backport
Sep 27, 2026
Merged

CMaintz merged 1 commit into
mainfrom
ci/prune-automerge-backport

Conversation

@CMaintz

@CMaintz CMaintz commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Backports jobbuddy#153 to the reusable bootstrap. A prune only ever shrinks the baseline (ruleset-guard verifies), so it arms gh pr merge --auto and lands on green — no hand-merge. A first-time snooze seeds the baseline, so it stays human-reviewed (the regen step now emits pruned=true/false to distinguish them).

Consumers must have the repo's Allow auto-merge setting on + branch-protection checks for it to fire (otherwise the PR just sits, mergeable, as before).

A prune only ever SHRINKS the snooze baseline (ruleset-guard verifies), so arm
'gh pr merge --auto' on it — it lands once required checks pass, no rubber-stamp. A
first-time snooze SEEDS the baseline (regen step now emits pruned=true/false), so that
stays human-reviewed. Consumers need repo 'Allow auto-merge' on. Backports jobbuddy#153.
@CMaintz
CMaintz merged commit 8393e39 into main Sep 27, 2026
4 checks passed
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.

1 participant