From ba76de8febe48bef8f503d47f0e3169155e8447f Mon Sep 17 00:00:00 2001 From: MitaliBhalla Date: Fri, 3 Jul 2026 14:40:39 +0530 Subject: [PATCH] rosa-745: branch protection for openshift-online/ocm-cli Require all non-optional checks on main: both Konflux pipelines (enterprise-contract and on-pull-request), ci/prow/images-images, and GHA Test/Lint so Tide merges dependency PRs only after CI is green. Follows openshift/release#81412 pattern. Co-authored-by: Cursor --- .../openshift-online/ocm-cli/_prowconfig.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/core-services/prow/02_config/openshift-online/ocm-cli/_prowconfig.yaml b/core-services/prow/02_config/openshift-online/ocm-cli/_prowconfig.yaml index 5254848399a8b..8f1fe03567e78 100644 --- a/core-services/prow/02_config/openshift-online/ocm-cli/_prowconfig.yaml +++ b/core-services/prow/02_config/openshift-online/ocm-cli/_prowconfig.yaml @@ -1,3 +1,20 @@ +branch-protection: + orgs: + openshift-online: + repos: + ocm-cli: + branches: + main: + protect: true + required_status_checks: + contexts: + - Red Hat Konflux / ocm-cli-enterprise-contract / ocm-cli + - Red Hat Konflux / ocm-cli-on-pull-request + - ci/prow/images-images + - Lint + - Test (ubuntu-latest) + - Test (macos-latest) + - Test (windows-latest) tide: queries: - labels: