Skip to content

Commit c8494c3

Browse files
Set up default protection ruleset for default and release branches
1 parent 283a986 commit c8494c3

1 file changed

Lines changed: 22 additions & 9 deletions

File tree

.asf.yaml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,39 @@ github:
2929
- infrastructure
3030
- hosting
3131
enabled_merge_buttons:
32-
squash: true
33-
merge: false
34-
rebase: false
32+
squash: true
33+
merge: false
34+
rebase: false
3535

36-
protected_branches: ~
36+
protected_branches:
3737

3838
collaborators:
3939
- acs-robot
4040
- jamiepell10
4141

42+
rulesets:
43+
- name: "Default Branch Protection"
44+
type: branch
45+
branches:
46+
includes:
47+
- "~DEFAULT_BRANCH"
48+
- "release/*"
49+
- "rel/*"
50+
excludes: []
51+
bypass_teams:
52+
- root
53+
restrict_deletion: true
54+
restrict_force_push: true
4255
notifications:
43-
commits: commits@cloudstack.apache.org
44-
issues: issues@cloudstack.apache.org
56+
commits: commits@cloudstack.apache.org
57+
issues: issues@cloudstack.apache.org
4558
pullrequests: issues@cloudstack.apache.org
46-
jobs: commits@cloudstack.apache.org
59+
jobs: commits@cloudstack.apache.org
4760

4861
# Staging and publishing profile for cloudstack-www.git:
4962
staging:
50-
profile: ~
63+
profile:
5164
whoami: staged-site
5265

5366
publish:
54-
whoami: asf-site
67+
whoami: asf-site

0 commit comments

Comments
 (0)