Repository navigation
Conversation
…lates
The example ci/publish/release templates hardcoded the test-matrix cap as
`max_node_major: ${{ github.event.inputs.max_node_major || '26' }}` (and a
matching workflow_dispatch input default of "26"). That re-goes-stale every time
a new even major ships. Blank the fallback and the input default so the templates
inherit this repo's own reusable-workflow default (the single source of truth for
the max major), while keeping the workflow_dispatch input for a per-run pin.
…eases don't delete integration branches branch-retention deletes a merged PR's head branch when nothing exempts it. The persistent next→master / hotfixes→master release PR merges with `next` / `hotfixes` as its HEAD, so on every release branch-retention deleted the integration branch — and GitHub auto-closes EVERY open PR whose base branch is deleted, silently killing in-flight feature PRs. next-reset recreates the branch but not the closed PRs. (Real incident: CLDMV/slothlet v3.16.3 closed PRs #405 and #409 unmerged.) The reusable default exempt_patterns was ["master","main","badges","gh-pages"] — missing the integration branches — even though this repo's own local-branch-retention.yml already exempts next/hotfixes/dev. Promote that same protection into the reusable default so every consumer inheriting it is covered: next is never deleted on release, in-flight PRs stay open, and the reset force-resets next in place (step 7) instead of recreating it (step 9).
…t/hotfixes) from deletion The org 'Protect Next' / 'Protect Hotfixes' rulesets carry a deletion rule, but the bot App is a bypass actor on them (bypass_mode: always) because it needs the bypass to force-reset next during a release — and that same bypass lets a delete through. So the ruleset cannot be the guardrail against the very actor that runs branch-retention. Enforce the guardrail in the action itself: refuse to delete master/main/next/hotfixes regardless of exempt_patterns or a matching retention rule. Complements the default exempt_patterns fix.
…eases don't delete integration branches (#308)
Shinrai
approved these changes
Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
👥 Contributors
Co-authored-by: Shinrai [email protected]