diff --git a/.asf.yaml b/.asf.yaml index 94fe61d48..2762d6c4f 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -7,6 +7,19 @@ github: - apache - handbook + 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@echarts.apache.org pullrequests: commits@echarts.apache.org