From f7bfde1b52317c0230675cee549267aecc9d4f3e Mon Sep 17 00:00:00 2001 From: Min Zhang Date: Tue, 18 Aug 2026 10:42:43 -0400 Subject: [PATCH] feat: require osac pre-commit and test checks Unit, integration, and pre-commit jobs already run on PRs but only e2e gates and check-labels block merge. --- repositories.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/repositories.tf b/repositories.tf index a5562aa..d0bd5d6 100644 --- a/repositories.tf +++ b/repositories.tf @@ -155,6 +155,17 @@ module "repo_osac" { # Reads Prow-set labels (lgtm, approved, jira/valid-reference) and converts # them to a status check the merge queue can gate on. { context = "check-labels", integration_id = 15368 }, + # Names match GitHub Actions job `name:` (or job id if unnamed). Job-level + # `if:` skips report success, so docs-only PRs are not blocked. + { context = "pre-commit", integration_id = 15368 }, + { context = "Run unit tests", integration_id = 15368 }, + { context = "Run unit tests (osac-metering)", integration_id = 15368 }, + { context = "Run unit tests (osac-metering/adapters)", integration_id = 15368 }, + { context = "Run unit tests (osac-metering/schema)", integration_id = 15368 }, + { context = "Run integration test (fulfillment-service)", integration_id = 15368 }, + { context = "Run integration test (osac-operator)", integration_id = 15368 }, + { context = "Run integration test (osac-aap)", integration_id = 15368 }, + { context = "Run integration test (osac-installer)", integration_id = 15368 }, ] # Preserve subtree-merge history/blame going forward -- squash-merging on the # mono-repo would collapse that history for every commit after cutover, so