This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-orbit.git
The following commit(s) were added to refs/heads/main by this push:
new 890db683 Use ruleset instead of protected_branches Enable gh pages
890db683 is described below
commit 890db6836641b848cb5e88c2b0e3e8bdb4b0eb25
Author: Jan Høydahl <[email protected]>
AuthorDate: Fri May 22 08:46:32 2026 +0200
Use ruleset instead of protected_branches
Enable gh pages
---
.asf.yml => .asf.yaml | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/.asf.yml b/.asf.yaml
similarity index 69%
rename from .asf.yml
rename to .asf.yaml
index 20ebb1b1..a2e7ce37 100644
--- a/.asf.yml
+++ b/.asf.yaml
@@ -29,17 +29,24 @@ github:
# Auto-delete head branch after a PR is merged
delete_branch_on_merge: true
- # Branch protection for the default branch
- protected_branches:
- main:
- required_pull_request_reviews:
- dismiss_stale_reviews: true
- require_last_push_approval: true
- required_approving_review_count: 1
- # Enforce linear history (no merge commits)
- required_linear_history: true
- # All PR comments must be resolved before merge
- required_conversation_resolution: true
+ # GitHub Pages
+ ghp_branch: gh-pages
+ ghp_path: ~
+
+ # Branch protection ruleset
+ rulesets:
+ - name: "Default Branch Protection"
+ type: branch
+ branches:
+ includes:
+ - "~DEFAULT_BRANCH"
+ - "release/*"
+ - "rel/*"
+ excludes: []
+ bypass_teams:
+ - root
+ restrict_deletion: true
+ restrict_force_push: true
notifications:
commits: [email protected]