Skip to content

Commit fbb84dc

Browse files
Set up default protection ruleset for default and release branches
1 parent 8bd4c83 commit fbb84dc

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

.asf.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,23 @@ 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+
- "release/*"
38+
- "rel/*"
39+
excludes: []
40+
bypass_teams:
41+
- root
42+
restrict_deletion: true
43+
restrict_force_push: true
3144
notifications:
32-
commits: commits@netbeans.apache.org
33-
issues: notifications@netbeans.apache.org
34-
pullrequests: notifications@netbeans.apache.org
45+
commits: commits@netbeans.apache.org
46+
issues: notifications@netbeans.apache.org
47+
pullrequests: notifications@netbeans.apache.org

0 commit comments

Comments
 (0)