Set up default protection ruleset for default and release branches
diff --git a/.asf.yaml b/.asf.yaml
index 8c7c89c..2902594 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -33,7 +33,20 @@
squash: true
merge: false
rebase: false
+ 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: commits@airflow.apache.org
- issues: commits@airflow.apache.org
+ commits: commits@airflow.apache.org
+ issues: commits@airflow.apache.org
pullrequests: commits@airflow.apache.org