repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

Reconcile the main ruleset: restore merge-gate, require only what functions

65e4bd2f0618894846c752ac1a45f39a41ffb0f5

Oliver Jan Krylow <oliver@bugabinga.net> ·

SSH signature · not checked

Browse filesCompare with HEAD

The live main ruleset enforced no required status check, so merge-gate — the
check native auto-merge waits on — gated nothing, and the checks it did carry
don't function on this repo. This restores merge-gate as required, pins merge to
squash so the signed squash commit satisfies required_signatures (§7), and
requires only the rules that work on a user-owned repo with no code yet:
merge-gate, Copilot review, signatures, code-owner review, and
linear-history / no-delete / no-force-push. Admin always-bypass unchanged.

Dropped code_quality and code_coverage (GitHub Code Quality is org-owned
Team/Enterprise only, so they produce no result here) and the required
code_scanning gate (CodeQL/DevSkim path-filter **/*.rs, so a docs/config PR
posts no result and hangs the check); the scanners still run and alert via
adw-alerts, only the merge-blocking wedge is gone. All re-join at build-out
scoped to code PRs, alongside #17's CI check. GitHub does not auto-read this
path — the owner applies it with a PUT to the existing ruleset id.

Surface: .github/rulesets/main.json. Reconcile half of #55.

Changed files (1)

+10 / −1 text lines

Diff layout

.github/rulesets/main.json

Modified

+10 / −1 text lines

2020 "require_code_owner_review": true,
2121 "dismiss_stale_reviews_on_push": false,
2222 "require_last_push_approval": false,
23 "required_review_thread_resolution": false
23 "required_review_thread_resolution": false,
24 "required_reviewers": [],
25 "allowed_merge_methods": ["squash"]
26 }
27 },
28 {
29 "type": "copilot_code_review",
30 "parameters": {
31 "review_on_push": true,
32 "review_draft_pull_requests": false
2433 }
2534 },
2635 {