Skip to content

chore: bring repository conformance up to the template - #11

Merged
ExtraToast merged 1 commit into
mainfrom
chore/repo-conformance
Aug 18, 2026
Merged

chore: bring repository conformance up to the template#11
ExtraToast merged 1 commit into
mainfrom
chore/repo-conformance

Conversation

@ExtraToast

Copy link
Copy Markdown
Contributor

Why

Branch protection existed only as server-side configuration. It was correct — every repository in the organisation was checked against the template and all of them match, with no bypass actors — but nothing recorded that. A change made through the web interface would have been silent, unversioned and unreviewable.

What changed

The ruleset is now committed as code, which is what scripts/apply-ruleset.sh in repo-template already expects.

Comparison stays a deliberate act rather than a standing CI gate. A committed snapshot plus a differ is the shape this restructure exists to remove, and re-applying the declared ruleset fixes drift rather than merely reporting it — the same model as a plan-and-apply tool.

Also fills the remaining gaps against the template: the gitleaks configuration extending the upstream ruleset, and the security policy where it was absent.

Verified before committing

All eight repositories were compared against the template intent — enforcement, bypass actors, required status check, merge methods, linear history, deletion and force-push rules. Every one matches, zero drift. So these files record the current state rather than changing it.

Branch protection existed only as server-side configuration. It was correct —
every repository in the organisation was checked against the template and all of
them match, with no bypass actors — but nothing recorded that, so a change made
in the web interface would have been silent, unversioned and unreviewable.

The ruleset is now committed as code, which is what scripts/apply-ruleset.sh in
repo-template already expects. Comparison stays a deliberate act rather than a
standing gate: a committed snapshot plus a differ is the shape this restructure
exists to remove, and re-applying the declared ruleset fixes drift rather than
merely reporting it.

Also fills the gaps against the template: the gitleaks configuration extending
the upstream ruleset, and the security policy where absent.
@ExtraToast ExtraToast added type: chore Maintenance work without intended behavior change. area: platform Platform, deployment, cluster, or runtime concern. labels Aug 18, 2026
@ExtraToast ExtraToast self-assigned this Aug 18, 2026
@ExtraToast
ExtraToast merged commit 4ef9bfd into main Aug 18, 2026
7 checks passed
@ExtraToast
ExtraToast deleted the chore/repo-conformance branch August 18, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: platform Platform, deployment, cluster, or runtime concern. type: chore Maintenance work without intended behavior change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant