This is an automated email from the ASF dual-hosted git repository.
clambertus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-java.git
The following commit(s) were added to refs/heads/main by this push:
new 80eaf81 chore: remove protected_branches block and format workflow
(#7)
80eaf81 is described below
commit 80eaf811bb0a36a27d57a022842b408728e0fa5c
Author: Andy Grove <[email protected]>
AuthorDate: Tue May 12 19:58:07 2026 -0600
chore: remove protected_branches block and format workflow (#7)
## Summary
- Removes the entire `protected_branches` block from `.asf.yaml`.
- Removes `.github/workflows/format.yml`.
## Rationale
GitHub Actions has not yet been enabled on the apache repo, so the
`Format` workflow ends in `startup_failure` on every run and never
reports the `Java (spotless)` / `Rust (cargo fmt)` status checks.
Combined with `protected_branches.main.required_status_checks` requiring
those contexts, PRs are unmergeable.
This change clears both sides of the deadlock: the protection block is
removed so future PRs aren't blocked, and the workflow is removed so
we're not carrying a check definition that can't run. Branch protection
and CI can be reintroduced once Actions is enabled by INFRA and the
project's review/CI practices have stabilized.
---
.asf.yaml | 8 -------
.github/workflows/format.yml | 50 --------------------------------------------
2 files changed, 58 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 75a2b87..70844d3 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -47,14 +47,6 @@ github:
features:
issues: true
discussions: true
- protected_branches:
- main:
- required_pull_request_reviews:
- required_approving_review_count: 1
- required_status_checks:
- contexts:
- - "Java (spotless)"
- - "Rust (cargo fmt)"
pull_requests:
allow_update_branch: true
allow_auto_merge: true
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
deleted file mode 100644
index 6295c32..0000000
--- a/.github/workflows/format.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: Format
-
-on:
- push:
- branches: [main]
- pull_request:
- branches: [main]
-
-jobs:
- java:
- name: Java (spotless)
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-java@v4
- with:
- distribution: temurin
- java-version: '17'
- cache: maven
- - name: Check Java formatting
- run: ./mvnw -B -ntp spotless:check
-
- rust:
- name: Rust (cargo fmt)
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: dtolnay/rust-toolchain@stable
- with:
- components: rustfmt
- - name: Check Rust formatting
- working-directory: native
- run: cargo fmt --all -- --check
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]