From d0486122f42cf1074ff544e89b64f483fc35e48d Mon Sep 17 00:00:00 2001 From: Vinish Reddy Date: Mon, 20 Jul 2026 16:39:40 -0700 Subject: [PATCH] [infra] Require CI status checks to merge (main and branch-0.4) .asf.yaml branch protection is read only from the default branch, and previously configured no required_status_checks, so green CI was not gating merges. Add required checks: - main: Maven CI Build, License Check - branch-0.4: Maven CI Build, License Check, and both Spark Runtime Bundle Validation matrix legs (3.4.3, 3.5.9) The two workflows that shared an ambiguous "build" job context now set unique job names (Maven CI Build, License Check) so each can be required distinctly. A matching branch-0.4 change renames the same jobs there. Co-Authored-By: Claude Opus 4.8 (1M context) --- .asf.yaml | 13 +++++++++++++ .github/workflows/mvn-ci-build.yml | 1 + .github/workflows/mvn-license-check.yml | 1 + 3 files changed, 15 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index b0ea482eb..441ca0ad2 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -35,6 +35,19 @@ github: main: required_pull_request_reviews: required_approving_review_count: 1 + required_status_checks: + contexts: + - "Maven CI Build" + - "License Check" + branch-0.4: + required_pull_request_reviews: + required_approving_review_count: 1 + required_status_checks: + contexts: + - "Maven CI Build" + - "License Check" + - "validate-spark-runtime-bundle (3.4.3)" + - "validate-spark-runtime-bundle (3.5.9)" notifications: commits: commits@xtable.apache.org issues: commits@xtable.apache.org diff --git a/.github/workflows/mvn-ci-build.yml b/.github/workflows/mvn-ci-build.yml index 92e478940..5c76c9771 100644 --- a/.github/workflows/mvn-ci-build.yml +++ b/.github/workflows/mvn-ci-build.yml @@ -31,6 +31,7 @@ on: jobs: build: + name: Maven CI Build runs-on: ubuntu-latest timeout-minutes: 30 steps: diff --git a/.github/workflows/mvn-license-check.yml b/.github/workflows/mvn-license-check.yml index c32daa62e..b81be658e 100644 --- a/.github/workflows/mvn-license-check.yml +++ b/.github/workflows/mvn-license-check.yml @@ -31,6 +31,7 @@ on: jobs: build: + name: License Check runs-on: ubuntu-latest steps: - uses: actions/checkout@v7