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 — Model org-level settings, rulesets & branch protection in deploy/ · Issue #52 · devantler-tech/.github

Model org-level settings, rulesets & branch protection in deploy/ #52

New issue
Copy link
New issue
Copy link
Closed
Closed
Model org-level settings, rulesets & branch protection in deploy/#52
Copy link

Description

@devantler
devantler
opened on Jun 19, 2026
Issue body actions

🤖 Generated by the Daily AI Assistant

Problem

The org enforces real configuration that is not in the declarative source of truth: org-level rulesets (e.g. squash-only merge, webCommitSignoffRequired), default member permissions, org security settings, and per-repo branch protection. Today these live only in GitHub's UI/API, so the "manage GitHub declaratively" guarantee has a hole — these settings can drift and aren't audited through the GitOps path. The shared repo patch in deploy/kustomization.yaml already encodes merge/signoff repo settings, but the org-level ruleset that actually enforces commit signoff is not declared.

Proposed direction

  • Model org settings + rulesets as CRs (verify provider-upjet-github support, e.g. Membership, an org-settings kind, OrganizationRuleset / organization_ruleset, BranchProtection / repository ruleset).
  • Adopt Observe-first (read live state into status.atProvider, backfill forProvider), then promote to manage — the same safe pattern already used for the Repository CRs.
  • Decide org-level ruleset vs per-repo ruleset granularity (org-level is the lighter-touch starting point that matches today's enforcement).

Rough size

M — touches security-relevant org state; ruleset granularity is a maintainer call.

Activity

  1. devantler
    added
    enhancement
    on Jul 2, 2026
  2. devantler commented on Jul 8, 2026

    @devantler
    devantler
    on Jul 8, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Daily AI Assistant

    Re-audited this against the live deploy/ tree — the ruleset half of this issue is already fully delivered, so I'm narrowing scope and closing.

    Delivered (verify-before-build check confirms):

    • deploy/organization-rulesets/ (10 org rulesets, Observe-first) + deploy/repository-rulesets/ (repo-scoped, e.g. platform's merge queue) — exactly the "Observe-first, promote to manage" pattern this issue proposed, already applied.
    • The provider's real limitations (narrower ruleset schema, a terraform-provider-github panic on required_status_checks create) are documented in the organization-rulesets/README.md and already tracked in #69 — no need for a duplicate tracking issue.

    Genuinely still missing, and blocked: org-wide settings (as opposed to rulesets) — e.g. web_commit_signoff_required (the issue's own motivating example), default_repository_permission, two_factor_requirement_enabled. provider-upjet-github's CRD set (checked its package/crds/) has no general org-settings resource — only an Enterprise-scoped Organization (org creation, needs an enterpriseId, doesn't fit adopting an existing non-Enterprise org), ruleset CRDs, and Actions-specific permission CRDs. There's no github_organization_settings-equivalent wrapped by this provider today.

    Filed the settings gap as its own narrow issue: #. Closing this one as delivered for the ruleset scope.

  3. devantler commented on Jul 8, 2026

    @devantler
    devantler
    on Jul 8, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Daily AI Assistant

    Follow-up filed: #85 (org-wide settings, blocked on provider support). Closing this one — its addressable scope (rulesets) is fully delivered.

  4. devantler
    closed this as completedon Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      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.