Skip to content

Document and template main-branch ruleset activation (#498) - #501

Merged
dovvnloading merged 1 commit into
mainfrom
docs/main-protection-ruleset-498
Nov 14, 2026
Merged

dovvnloading merged 1 commit into
mainfrom
docs/main-protection-ruleset-498

Conversation

@dovvnloading

Copy link
Copy Markdown
Owner

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/protection currently returns 403). An authorized repository administrator must activate the template in Settings → Rules → Rulesets or run the documented gh api command. Issue #498 must remain open until the live API verifies activation.

References #498. No application or workflow execution behavior is changed.

@dovvnloading dovvnloading left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@dovvnloading
dovvnloading merged commit d92bc0f into main Nov 14, 2026
16 checks passed
@dovvnloading
dovvnloading deleted the docs/main-protection-ruleset-498 branch November 14, 2026 19:56
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