GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — rulesets: developing-today/code — replace classic-only protection with separate force-push + deletion rulesets, admins exempt (#7010 follow-up) · Issue #8442 · developing-today/code

rulesets: developing-today/code — replace classic-only protection with separate force-push + deletion rulesets, admins exempt (#7010 follow-up) #8442

New issue
Copy link
New issue
Copy link
Closed
Closed
rulesets: developing-today/code — replace classic-only protection with separate force-push + deletion rulesets, admins exempt (#7010 follow-up)#8442
Copy link
Assignees
dezren39
Labels
epic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)priority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
GitHub + dynamic compute

Description

@dezren39
dezren39
opened on Nov 11, 2026
Issue body actions

Remediation follow-up from the fleet ruleset audit, issue #7010 (full 95-repo table: #7010 (comment)).

Audit finding for developing-today/code (2026-11-11, read-only): CLASSIC-ONLY — classic protection on main blocks force-pushes and deletions and does not enforce against admins; no rulesets exist.

Goal shape (per #7010): two SEPARATE active branch rulesets scoped to the default branch — one carrying non_fast_forward (force-push), one carrying deletion — with admins exempt (bypass actor: OrganizationAdmin / RepositoryRole admin, bypass_mode always). This task CHANGES protection settings on developing-today/code; the audit task itself was read-only.

Acceptance:

  • API re-read shows two separate active rulesets matching the shape above on the default branch.
  • The pre-change state (rulesets + classic protection) is recorded on this issue before the change, and the post-change state after it.
  • Nothing else about the repo's protection changes (existing required checks / review rules untouched); if classic protection is left in place alongside, say so and why.

Activity

  1. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    developing-todayBot
    on Nov 11, 2026 – with developing.today
    Contributor
    More actions

    CODE-2513

  3. dezren39
    added
    epic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)
    on Nov 12, 2026
  4. dezren39
    added this to the GitHub + dynamic compute milestone on Nov 12, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  6. dezren39
    added a parent issue on Nov 12, 2026
    • epic: GitHub and dynamic compute — rulesets, CI capacity, and elastic compute across the orgs #8985
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged + pre-change state recorded (fix proceeding inline this shift)

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 18656

    Triage verdict (fresh, 2026-11-17): real and current. Labels stand (task/small-fix, priority/normal, source/queue-worker); no hard-stop labels. The fix is two API calls with a precise acceptance shape, so it is done inline in this shift rather than re-filed as another packet.

    Pre-change state (API re-read this shift, before any change):

    • Rulesets on developing-today/code: none (GET /repos/developing-today/code/rulesets → empty list).
    • Classic branch protection on main: allow_force_pushes=false, allow_deletions=false, enforce_admins=false, no required status checks, no required PR reviews.

    That matches the #7010 audit finding (CLASSIC-ONLY) exactly. The change below adds the two rulesets alongside the classic protection (classic is left in place — see the post-change note for why).

  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (rulesets created and verified — post-change state)

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 18656

    Post-change state (API re-read this shift, after the change):

    • Ruleset 27431063 "main: no force pushes" — enforcement: active, target branch, ref_name.include: ["~DEFAULT_BRANCH"], rules: [non_fast_forward], bypass actors: OrganizationAdmin / always, RepositoryRole 5 (admin) / always.
    • Ruleset 27431064 "main: no deletions" — enforcement: active, same scope, rules: [deletion], same bypass actors.
    • Classic branch protection on main: unchanged (allow_force_pushes=false, allow_deletions=false, enforce_admins=false, no required checks/reviews — identical to the pre-change read).

    Why classic protection is left in place alongside: the #7010 goal shape is the two rulesets; the classic settings duplicate the same two restrictions for non-admins and removing them was not part of the shape. Leaving classic in place changes nothing else about the repo's protection (the acceptance's "nothing else changes" clause), and the rulesets add the admin-exempt, separately-scoped enforcement the audit asked for. If a later pass wants classic removed, that is its own recorded change.

    Acceptance met on all three points: two separate active rulesets of the specified shape on the default branch (re-read above), pre-change state recorded on this issue before the change, post-change state recorded here, and nothing else about protection touched.

    Task 18656 completes with the fix outcome (API settings change — no PR). This issue closes.

  9. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  10. dezren39
    closed this as completedon Nov 17, 2026
  11. developing-today
    added
    status:done
    on Nov 17, 2026
  12. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: done
    task: 20140
    lane: any-n
    worker: repo-worker-code

    Freshly revalidated #8442 as CLOSED with status:done. Live rulesets API confirms active force-push and deletion rulesets; main classic protection remains unchanged. Queue task 20140 completed as already_done; no further routing needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

epic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)priority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilotstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    • GitHub + dynamic computeNo due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.