Skip to content

feat(mergify): an ARCHITECTURE.md change stands alone and merges on the owner's approval - #22

Merged
systemfsoftware-bot merged 1 commit into
mainfrom
chore/architecture-owner-protection
Dec 5, 2026
Merged

systemfsoftware-bot merged 1 commit into
mainfrom
chore/architecture-owner-protection

Conversation

@systemfsoftware-bot

Copy link
Copy Markdown
Contributor

Intent

Owner order: a PR that changes an ARCHITECTURE.md changes only that file, and merges only with the owner's approval, org-wide.

  • shared.touches_architecture: files ~= (^|/)ARCHITECTURE\.md$
  • Merge protection ARCHITECTURE.md stands alone: #files = 1
  • Merge protection Owner approves ARCHITECTURE.md: approved-reviews-by = ryanleecode

gh search code merge_protections --owner systemfsoftware --filename .mergify.yml finds only this repo, so every consumer inherits both.

Companion PRs: workstation #3420 (the guard allows the owner's name only in an ARCHITECTURE.md rule) and #3424 (pre-push refuses a branch bundling ARCHITECTURE.md with other files).

Verification

  • python3 -c "import yaml; yaml.safe_load(open('.mergify.yml'))" exit 0
  • Mergify's configuration check on this PR.

Break glass

Case: the owner's explicit order ("YOU ARE ADMIN"). Committed through the contents API because the deployed guard still predates #3420.

Rollback: revert this PR.

@systemfsoftware-bot
systemfsoftware-bot merged commit b00bc66 into main Dec 5, 2026
2 of 3 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