Repository navigation
Document and template main-branch ruleset activation (#498) - #501
Merged
Merged
Conversation
dovvnloading
commented
Nov 14, 2026
dovvnloading
left a comment
Owner
Author
There was a problem hiding this comment.
Reviewed ruleset JSON against the GitHub REST ruleset shape and checked required case-sensitive contexts against quality.yml. The repository currently has no CodeQL workflow, so no non-existent CodeQL check is required. Windows Quality run #984 passed all applicable checks, including heavy; the conditional browser job was skipped. This is an operator-ready template only: it does not change GitHub administration settings or complete #498. GitHub owner action and live ruleset verification are still required.
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 this does
Adds a ready-to-apply GitHub repository ruleset JSON template and step-by-step instructions to enforce Cortex's existing fail-closed Quality gate. It targets only
main, requires PRs with no self-review for the single maintainer, requires the six existing exact CI check contexts, disallows deletion/force push, and has no bypass actors.Administrator action required (not performed by this PR)
GitHub does not activate rulesets from repository files. The installed GitHub connection cannot POST to the administration API (
/branches/main/protectioncurrently returns 403). An authorized repository administrator must activate the template in Settings → Rules → Rulesets or run the documentedgh apicommand. Issue #498 must remain open until the live API verifies activation.References #498. No application or workflow execution behavior is changed.