From 80164e734852ca8bd62f67b968500775745ee8b7 Mon Sep 17 00:00:00 2001 From: TGPSKI Date: Mon, 3 Aug 2026 21:47:49 -0700 Subject: [PATCH] chore: add the repo-admin bypass actor to every ruleset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fork-only already carried RepositoryRole/5/always; main-ci, main-reviews and release-tags-immutable did not. leather and skeptic carry it on all four, and conceit now does too — this brings vanity in line. Without it, main-reviews leans on required_approving_review_count: 0 to stay workable on a solo repo (see #2), which weakens the rule for everyone rather than exempting the one person who needs the exemption. The bypass is the narrower tool. release-tags-immutable is the one that actually bites: re-cutting a tag you just found a defect in is impossible without it. --- .github/rulesets/ruleset-main-reviews.json | 7 +++++++ .github/rulesets/ruleset-main.json | 7 +++++++ .github/rulesets/ruleset-release-tags-immutable.json | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/.github/rulesets/ruleset-main-reviews.json b/.github/rulesets/ruleset-main-reviews.json index d5f2c55..3e51594 100644 --- a/.github/rulesets/ruleset-main-reviews.json +++ b/.github/rulesets/ruleset-main-reviews.json @@ -10,6 +10,13 @@ "exclude": [] } }, + "bypass_actors": [ + { + "actor_id": 5, + "actor_type": "RepositoryRole", + "bypass_mode": "always" + } + ], "rules": [ { "type": "pull_request", diff --git a/.github/rulesets/ruleset-main.json b/.github/rulesets/ruleset-main.json index 98a137a..1460c32 100644 --- a/.github/rulesets/ruleset-main.json +++ b/.github/rulesets/ruleset-main.json @@ -8,6 +8,13 @@ "exclude": [] } }, + "bypass_actors": [ + { + "actor_id": 5, + "actor_type": "RepositoryRole", + "bypass_mode": "always" + } + ], "rules": [ { "type": "required_status_checks", diff --git a/.github/rulesets/ruleset-release-tags-immutable.json b/.github/rulesets/ruleset-release-tags-immutable.json index c9020af..654c059 100644 --- a/.github/rulesets/ruleset-release-tags-immutable.json +++ b/.github/rulesets/ruleset-release-tags-immutable.json @@ -8,6 +8,13 @@ "exclude": [] } }, + "bypass_actors": [ + { + "actor_id": 5, + "actor_type": "RepositoryRole", + "bypass_mode": "always" + } + ], "rules": [ { "type": "update" }, { "type": "deletion" },