Skip to content

ci: replace owner reviews with automated risk gates - #54

Merged
Pigbibi merged 1 commit into
mainfrom
chore/risk-gate-20261031
Oct 31, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
chore/risk-gate-20261031

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

What changed

Replace this governance job's CODEOWNERS-required review with the automated risk-gate status. High-risk paths need the owner-added owner-approved label; low-risk paths pass automatically. Existing checks and earlier protections remain in place.

The trusted base-branch workflow reads metadata only, checks renamed paths and label provenance, and publishes risk-gate and pr-template on the exact PR head. It does not check out PR code, add approval labels, merge PRs, access secrets, or deploy.

AI assistance

Codex. No independent AI review result is claimed.

How verified

The generated workflow passed actionlint and JavaScript syntax checks; 27 focused regression cases passed, including low/high risk, owner-label provenance/removal, renames, incomplete diffs and API failures. The repository's existing hygiene/style checker passed where available. GitHub CI and existing merge requirements must pass before merge. Installation uses the existing governance PR process before the new trusted workflow is made required.

@Pigbibi
Pigbibi merged commit bae7a86 into main Oct 31, 2026
5 checks passed
@Pigbibi
Pigbibi deleted the chore/risk-gate-20261031 branch October 31, 2026 13:50
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