fix(governance): sync check lists and fix ruleset condition#48
Conversation
- apply-governance.sh: add Dependency Review, Contracts Production Mode Smoke, frontend-checks / Frontend Checks (Node 20/22) to all branches; align order with live branch protection - verify-governance.sh: same additions - BRANCHING.md: fix Frontend Checks names to include workflow prefix - PRODUCTION_GOVERNANCE_CHECKLIST.md: same fix Ruleset condition bug (refs/heads/main, canary as one string) fixed directly via API — canary and main now correctly covered by the develop ruleset.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe PR standardizes frontend CI check naming across GitHub governance by adding the workflow prefix ChangesFrontend Check Prefix Standardization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
Two governance correctness fixes.
Changes
Ruleset condition bug (applied directly via API)
The
developruleset had"refs/heads/main, canary"as a single literal string — it matched nothing. Fixed to two separate entries:refs/heads/mainandrefs/heads/canary. The ruleset (CodeQL alert gate, deletion protection, non-fast-forward) now correctly applies to all three protected branches.Script and doc sync
apply-governance.sh: addDependency Review,Contracts Production Mode Smoke,frontend-checks / Frontend Checks (Node 20/22)to all branch check lists; align with live branch protectionverify-governance.sh: same additionsBRANCHING.md,PRODUCTION_GOVERNANCE_CHECKLIST.md: fixFrontend Checksnames to include workflow prefix (frontend-checks /)Governance policy validator passes locally.
Scope
scriptsdocsRisk
Low — script and doc changes only. Ruleset fix was applied directly via API before this PR.
Summary by CodeRabbit