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 e412ab5 chore(.asf.yaml): null out main branch protection to clear
stale rules (#11)
e412ab5 is described below
commit e412ab54e1ff8c1d9000afcb7c4d07b2b10ca1a7
Author: Andy Grove <[email protected]>
AuthorDate: Tue May 12 20:12:12 2026 -0600
chore(.asf.yaml): null out main branch protection to clear stale rules (#11)
## Summary
- Sets `github.protected_branches.main: ~` in `.asf.yaml`.
## Rationale
The previous PR (#7) removed the `protected_branches` block entirely,
but ASF INFRA only applies settings that are present in `.asf.yaml` — it
does not clear settings when keys are simply omitted. The required
status checks (`Java (spotless)`, `Rust (cargo fmt)`) therefore remain
configured on `main` and continue to block every PR, because the
workflow that would produce those check contexts is also gone.
Explicitly setting `protected_branches.main` to YAML null (`~`) tells
INFRA to clear the existing branch protection rules on `main`. Branch
protection can be reintroduced later once CI is in place.
---
.asf.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.asf.yaml b/.asf.yaml
index 70844d3..cf1630f 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -47,6 +47,8 @@ github:
features:
issues: true
discussions: true
+ protected_branches:
+ main: ~
pull_requests:
allow_update_branch: true
allow_auto_merge: true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]