Skip to content

Commit 4ae53d1

Browse files
asf-gitbox-commitsneilcsmith-net
authored andcommitted
Set up default protection ruleset for default branch
1 parent 8bd4c83 commit 4ae53d1

1 file changed

Lines changed: 17 additions & 6 deletions

File tree

.asf.yaml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,21 @@ github:
2525
issues: true
2626
projects: true
2727
enabled_merge_buttons:
28-
squash: false
29-
merge: true
30-
rebase: false
28+
squash: false
29+
merge: true
30+
rebase: false
31+
rulesets:
32+
- name: "Default Branch Protection"
33+
type: branch
34+
branches:
35+
includes:
36+
- "~DEFAULT_BRANCH"
37+
excludes: []
38+
bypass_teams:
39+
- root
40+
restrict_deletion: true
41+
restrict_force_push: true
3142
notifications:
32-
commits: commits@netbeans.apache.org
33-
issues: notifications@netbeans.apache.org
34-
pullrequests: notifications@netbeans.apache.org
43+
commits: commits@netbeans.apache.org
44+
issues: notifications@netbeans.apache.org
45+
pullrequests: notifications@netbeans.apache.org

0 commit comments

Comments
 (0)