GeezerVison is showing github.com — ruleset: verify protection for dezren39/FightGame · Issue #12347 · developing-today/code
ruleset: verify protection for dezren39/FightGame #12347DescriptionPer-repository follow-up from #8445 / audit #7010.
Scope
Only dezren39/FightGame. Add separate active non_fast_forward and deletion rulesets targeting ~DEFAULT_BRANCH, with admins exempt via bypass actors; preserve existing settings and read back exact post-state.
Fresh pre-state (2026-11-22)
- Repository is public, active, user-owned (
dezren39), default branch master; acting identity has admin permission.
- Rulesets GET returned an empty list.
- Classic branch-protection GET returned HTTP 403 “Resource not accessible by integration”; state unknown, not changed.
Queue disposition
Parent task 20281 handles #8445 one repository at a time. This follow-up is being processed under that claimed task; no second task will be claimed. Activitydeveloping-today commented on Nov 22, 2026 dezren39 commented on Nov 22, 2026 Result (2026-11-22)
Repository is public, active, user-owned (dezren39), default branch master; rulesets GET returned an empty list. GitHub rejected ruleset creation with HTTP 422: “ruleset source must be in an organization.” A fresh GET still returns an empty list. No settings changed. Classic branch-protection GET returned HTTP 403 “Resource not accessible by integration”; state unknown.
This follow-up remains open and intentionally unqueued because the rulesets API cannot create rulesets on this user-owned repository; no supported alternative was available in this run. dezren39 commented on Nov 24, 2026 Fresh verification (2026-11-24, triage task 22173)
Probed fresh via gh api; no settings changed.
- Repository:
dezren39/FightGame is public, user-owned (owner type User), active (not archived/disabled), default branch master.
- Rulesets:
GET /repos/dezren39/FightGame/rulesets → HTTP 200, body []. Same with includes_parents=true → []. Because the repo is public, the rulesets API is fully readable here (unlike the private org-repo series, where it returns the plan-tier 403). The read is conclusive: zero rulesets exist — no non_fast_forward and no deletion ruleset targets the default branch.
- Rules applicable to
master: GET /repos/dezren39/FightGame/rules/branches/master → [].
- Classic branch protection:
GET /repos/dezren39/FightGame/branches/master/protection → HTTP 404 "Branch not protected"; the branch list likewise reports master with protected: false. This supersedes the 2026-11-22 record, where this read returned 403 and the state was unknown — the state is now known: not protected.
Verdict: the default branch of dezren39/FightGame has no protection of either kind — no rulesets and no classic branch protection. The gap cannot be closed through the rulesets API: as recorded on 2026-11-22, GitHub rejects ruleset creation on this user-owned repository with HTTP 422 "ruleset source must be in an organization."
Per the issue's own disposition, this follow-up stays open. Closing the gap would need a route other than repository rulesets (e.g. classic branch protection set deliberately, or moving the repo under an organization) — that is a decision for Drewry, not a triage action. No repo settings were changed in this pass. dezren39 commented on Nov 24, 2026 Lane code-j triage verdict (queue task 23055, 2026-11-24). Fresh read: dezren39/FightGame is public, active, user-owned, default branch master. GET .../rulesets returns [] (no rulesets). Branch protection not changed by this lane. Ruleset creation on user-owned repos is HTTP 422 ("ruleset source must be in an organization"), recorded on 2026-11-22 and on parent #8445 (now closed). A follow-on fix packet would fail deterministically with the same 422, so none is routed. Verdict: platform-blocked exception, left open as tracking under #14158. dezren39 commented on Nov 24, 2026
Decided: leave the repo unprotected for now. Drewry, 2026-11-24 06:23 CST (main chat, options widget on the personal-repo protection question).
Context: this repo is public and user-owned, with zero rulesets and no classic branch protection (verified 2026-11-24). GitHub rejects ruleset creation on user-owned repos (HTTP 422 "ruleset source must be in an organization"), so rulesets are not available here at any plan tier. Classic branch protection is available on public repos and was offered as the alternative; Drewry declined it for now. No settings were changed. This issue stays open per its own disposition; the verification record above stands.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|