Set up default protection ruleset for default and release branches
diff --git a/.asf.yaml b/.asf.yaml
index 83398b0..be6277c 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,5 +1,19 @@
notifications:
- commits: commits@infra.apache.org
- issues: commits@infra.apache.org
+ commits: commits@infra.apache.org
+ issues: commits@infra.apache.org
pullrequests: commits@infra.apache.org
jira_options: none
+github:
+ rulesets:
+ - name: "Default Branch Protection"
+ type: branch
+ branches:
+ includes:
+ - "~DEFAULT_BRANCH"
+ - "release/*"
+ - "rel/*"
+ excludes: []
+ bypass_teams:
+ - root
+ restrict_deletion: true
+ restrict_force_push: true