docs(maintenance): document the ruleset bypass policy - #62
Merged
Conversation
The fleet rulesets' only bypass actor is now the per-repo release deploy key. The admin always-on bypass from the original rollout was removed across all 24 repos on 2026-07-29 — an admin push to main skipped the install / install gate silently. Documents the emergency path (temporary enforcement disable) in its place.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Pull request overview
Documents the updated fleet “Protect main” ruleset bypass policy in MAINTENANCE.md following the removal of the always-on admin bypass, clarifying who can bypass required CI gates and how to handle emergencies.
Changes:
- Adds a “Ruleset bypass policy” section stating the release deploy key is the sole bypass actor.
- Explains the rationale (admin direct pushes can silently bypass required gates).
- Documents an emergency procedure (temporarily disable enforcement, push, re-enable) and guidance for future automations.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+123
to
+125
| enforcement to `disabled` (repo Settings → Rules, or | ||
| `gh api -X PUT repos/digitalnsw/<repo>/rulesets/<id>` resending the full | ||
| definition with `"enforcement": "disabled"`), push, and re-enable — a |
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.
Documents the fleet ruleset bypass policy in MAINTENANCE.md following the 2026-07-29 removal of the admin always-on bypass from all 24 repos' Protect main rulesets.
install / installgate silently (demonstrated on nswds-ui).MAINTENANCE.md is not in the sync map — no fleet fan-out.