Skip to content

Commit 104bedb

Browse files
asf-gitbox-commitsborisstoyanov
authored andcommitted
Set up default protection ruleset for default and release branches
1 parent 9a04d5b commit 104bedb

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.asf.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ github:
3030
protected_branches:
3131
main: {}
3232

33+
rulesets:
34+
- name: "Default Branch Protection"
35+
type: branch
36+
branches:
37+
includes:
38+
- "~DEFAULT_BRANCH"
39+
- "release/*"
40+
- "rel/*"
41+
excludes: []
42+
bypass_teams:
43+
- root
44+
restrict_deletion: true
45+
restrict_force_push: true
46+
3347
copilot_code_review:
3448
enabled: true
3549
review_drafts: true

0 commit comments

Comments
 (0)