diff --git a/.asf.yaml b/.asf.yaml index 9c0a326a08c8..9305450932ff 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -25,6 +25,19 @@ github: edit_comment_discussion: "Re: [D] {title} ({repository})" delete_comment_discussion: "Re: [D] {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 notifications: commits: commits@druid.apache.org issues: commits@druid.apache.org