Skip to content

Harden public branch protection baselines - #36

Merged
barfle merged 4 commits into
mainfrom
chore/public-readiness-rulesets
Jun 29, 2026
Merged

Harden public branch protection baselines#36
barfle merged 4 commits into
mainfrom
chore/public-readiness-rulesets

Conversation

@barfle

@barfle barfle commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • codify stricter rulesets for main and release/*
  • require approval, resolved threads, strict CI checks, and linear history
  • add a checked-in ruleset reference doc for repeatable setup and audits

Test plan

  • validate rule JSON structure locally
  • apply rulesets via GitHub API and verify they are active
  • merge this PR

barfle added 4 commits June 29, 2026 17:08
Document and codify stricter PR and CI requirements so public-facing changes cannot bypass review or quality gates.
Add comprehensive ApiClient and M2M unit tests plus config-path branch tests, and wire pytest/CI to fail below 100% on the covered unit-test surface.
Install the package in editable mode for unit-test jobs so pytest-cov measures the checked-out sources and enforces the 100% gate correctly.
Set required approvals to zero and disable last-push approval in main/release protection rulesets, and document that repo write access must be limited to internal staff via role assignments.
@barfle
barfle merged commit fbe85f7 into main Jun 29, 2026
9 checks passed
@barfle
barfle deleted the chore/public-readiness-rulesets branch June 29, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant