diff --git a/.asf.yaml b/.asf.yaml index 038cd9996..609af7663 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -15,5 +15,18 @@ # specific language governing permissions and limitations # under the License. github: - dependabot_alerts: false + dependabot_alerts: false dependabot_updates: 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