diff --git a/.asf.yaml b/.asf.yaml index e63bed74..0142e727 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -55,3 +55,16 @@ github: comment_issue: "Re: [I] {title} ({repository})" close_issue: "Re: [I] {title} ({repository})" catchall: "[GH] {title} ({repository})" + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true