diff --git a/.asf.yaml b/.asf.yaml index 120de7b64..016c49442 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -58,3 +58,16 @@ github: required_status_checks: # strict means "Require branches to be up to date before merging". strict: true + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true