diff --git a/.asf.yaml b/.asf.yaml index 08ebb1c31fa..5d93ac7b9bd 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -4,8 +4,21 @@ publish: github: enabled_merge_buttons: # enable squash button: - squash: true + squash: true # disable rebase button: - rebase: true + rebase: true # enable merge button: - merge: false + merge: 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