Skip to content

Commit 4ea2645

Browse files
[INFRA] Set up default rulesets for default and release branches (#13169)
1 parent 5ad7daf commit 4ea2645

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.asf.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
# under the License.
1717

1818
# https://cwiki.apache.org/confluence/display/INFRA/git+-+.asf.yaml+features
19-
---
2019
github:
2120
description: "Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform"
2221
homepage: https://cloudstack.apache.org/
@@ -59,7 +58,19 @@ github:
5958
- GaOrtiga
6059
- bhouse-nexthop
6160

62-
protected_branches: ~
61+
protected_branches:
62+
63+
rulesets:
64+
- name: "Default Branch Protection"
65+
type: branch
66+
branches:
67+
includes:
68+
- "~DEFAULT_BRANCH"
69+
excludes: []
70+
bypass_teams:
71+
- root
72+
restrict_deletion: true
73+
restrict_force_push: true
6374

6475
copilot_code_review:
6576
enabled: true

0 commit comments

Comments
 (0)