Repository navigation
ci(mergify): drop the path-based owner-approval merge protection - #19
Open
systemfsoftware-bot wants to merge 1 commit into
Open
systemfsoftware-bot wants to merge 1 commit into
systemfsoftware-bot wants to merge 1 commit into
Conversation
The "Repository owner approves shared config and tooling" protection held a PR for the owner's approval whenever it touched .github/, .mergify.yml, the flake, an API report or a tool config. A path match is both too broad (a perf change to a CI script) and too narrow (it misses a file that changes what the gate runs). Every other protection, anchor and pull-request rule is unchanged.
Merge Protections🔴 2 of 5 protections blocking · waiting on 👀 reviews and 🙋 you
🔴 Merge authorityWaiting for any of
This rule is failing.A PR merges only after the review app approves it (phase 1) or the review bot's review-gate passes (phase 2). A Dependabot patch or minor bump skips the review gate; a major bump still needs it.
🔴 🚦 Auto-queueWaiting for any of
This rule is failing.When all merge protections are satisfied and these conditions match, this pull request will be queued automatically.
Show 3 satisfied protections🟢 📃 Configuration Change RequirementsMergify configuration change
🟢 Conventional PR titleThe squash commit takes the PR title, so the title must be a conventional commit.
🟢 Hold labelThe hold label keeps a PR out of the default branch.
|
Contributor
Author
|
Review note (head ba88b35): no blocking defects.
|
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
Removes the Repository owner approves shared config and tooling merge
protection. It required the repository owner's approval for any PR that
touched
.github/,.mergify.yml, an API report, the flake, or a tool config(tsconfig, vitest, oxlint, biome, stryker).
Why
Which files a repository keeps under
.github/, and which tool configs ituses, are ordinary files. A path match stands in for "changes what the gate
checks", and it is both too broad (it held a performance change to a CI script
for the owner) and too narrow (it missed a task-graph file that changes which
tasks the gate runs). Risk is classified from the diff by the gates that read
it, not by a filename.
Change
Delete the one
merge_protectionsentry. Every other protection(
Merge authority,Conventional PR title,Hold label,Subtree PRs need subtree history), every anchor and everypull_request_rulesentry isunchanged.
Verification
.mergify.ymlparses;merge_protectionsholds the four remaining entries.Note
This PR itself touches
.mergify.yml, so the protection it removes stillapplies to it until it merges: it needs the owner's approval to merge.