Skip to content

Commit 928d673

Browse files
committed
Protect main branches
1 parent 856cd34 commit 928d673

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎.asf.yaml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,27 @@ github:
2222
- imaging
2323
- image-processing
2424
- apache
25+
26+
pull_requests:
27+
# allow auto-merge
28+
allow_auto_merge: false
29+
# enable updating head branches of pull requests
30+
allow_update_branch: true
31+
# auto-delete head branches after being merged
32+
del_branch_on_merge: true
33+
34+
rulesets:
35+
- name: "Protect Main Branches"
36+
type: branch
37+
branches:
38+
includes:
39+
- main
40+
- master
41+
excludes: []
42+
bypass_teams:
43+
- root
44+
restrict_deletion: true
45+
restrict_force_push: true
2546

2647
notifications:
2748
commits: commits@commons.apache.org

0 commit comments

Comments
 (0)