Skip to content

Commit dca4602

Browse files
[INFRA] Set up default rulesets for default and release branches (#2955)
Co-authored-by: Jia Yu <jiayu@apache.org>
1 parent e27e024 commit dca4602

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.asf.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,16 @@ github:
6666
# Enable GitHub discussion
6767
discussions: true
6868
ghp_branch:
69+
rulesets:
70+
- name: 'Default Branch Protection'
71+
type: branch
72+
branches:
73+
includes:
74+
- '~DEFAULT_BRANCH'
75+
- 'release/*'
76+
- 'rel/*'
77+
excludes: []
78+
bypass_teams:
79+
- root
80+
restrict_deletion: true
81+
restrict_force_push: true

0 commit comments

Comments
 (0)