diff --git a/.asf.yaml b/.asf.yaml index 064db4706e4..b47cc3840e9 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -66,3 +66,16 @@ github: # Enable GitHub discussion discussions: true ghp_branch: + rulesets: + - name: 'Default Branch Protection' + type: branch + branches: + includes: + - '~DEFAULT_BRANCH' + - 'release/*' + - 'rel/*' + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true