Skip to content

Commit e412ab5

Browse files
authored
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.
1 parent 80eaf81 commit e412ab5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.asf.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ github:
4747
features:
4848
issues: true
4949
discussions: true
50+
protected_branches:
51+
main: ~
5052
pull_requests:
5153
allow_update_branch: true
5254
allow_auto_merge: true

0 commit comments

Comments
 (0)