From be34dc93187fe487abbd73b5d30bc40a0b9d4058 Mon Sep 17 00:00:00 2001 From: Chai Bot Date: Tue, 29 Sep 2026 21:26:45 +0000 Subject: [PATCH] Restore required_status_checks and ruleset_bypass_team_ids for enhancement-proposals PR #238 removed the GitHub ruleset configuration from the enhancement-proposals module. This restores the required status checks (check-human-reviews and pre-commit) and the wg-infra bypass so that the branch protection rules are enforced again. AI-Assisted-By: Claude (Anthropic) Signed-off-by: Chai Bot --- repositories.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/repositories.tf b/repositories.tf index 54544b8..76307d9 100644 --- a/repositories.tf +++ b/repositories.tf @@ -328,6 +328,13 @@ module "repo_enhancement_proposals" { # Prow plugins handle approval via OWNERS (lgtm/approved labels), not native # GitHub reviews. required_approvals = null + required_status_checks = [ + # Job id in enhancement-proposals/.github/workflows/review-gate.yml. + { context = "check-human-reviews", integration_id = 15368 }, + # Job id in enhancement-proposals/.github/workflows/pre-commit.yaml. + { context = "pre-commit", integration_id = 15368 }, + ] + ruleset_bypass_team_ids = [github_team.all["wg-infra"].id] teams = [ { team_id = "wg-osac-storage"