This is an automated email from the ASF dual-hosted git repository.

vinishjail97 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-xtable.git


The following commit(s) were added to refs/heads/main by this push:
     new 0e23ac71 [infra] Require CI status checks to merge (main and 
branch-0.4) (#848)
0e23ac71 is described below

commit 0e23ac71640e44c7e8f12d101a2845c9c4f44bda
Author: Vinish Reddy <[email protected]>
AuthorDate: Tue Sep 15 03:59:40 2026 +0530

    [infra] Require CI status checks to merge (main and branch-0.4) (#848)
    
    .asf.yaml branch protection is read only from the default branch, and
    the main rules currently require only validate-commit-coauthor and
    validate-pr-title, so a red build does not gate a merge. Add the build
    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.
---
 .asf.yaml                               | 11 +++++++++++
 .github/workflows/mvn-ci-build.yml      |  1 +
 .github/workflows/mvn-license-check.yml |  1 +
 3 files changed, 13 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 155f0b07..e95baf9d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -39,6 +39,17 @@ github:
         contexts:
           - validate-commit-coauthor
           - validate-pr-title
+          - "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:      [email protected]
     issues:       [email protected]
diff --git a/.github/workflows/mvn-ci-build.yml 
b/.github/workflows/mvn-ci-build.yml
index b81c7826..097d65cf 100644
--- a/.github/workflows/mvn-ci-build.yml
+++ b/.github/workflows/mvn-ci-build.yml
@@ -37,6 +37,7 @@ env:
 
 jobs:
   build:
+    name: Maven CI Build
     runs-on: ubuntu-latest
     # A cold build is ~27 min, which left no headroom under the previous 30.
     timeout-minutes: 40
diff --git a/.github/workflows/mvn-license-check.yml 
b/.github/workflows/mvn-license-check.yml
index 25dc9236..4a29da3b 100644
--- a/.github/workflows/mvn-license-check.yml
+++ b/.github/workflows/mvn-license-check.yml
@@ -36,6 +36,7 @@ env:
 
 jobs:
   build:
+    name: License Check
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v7

Reply via email to