Skip to content

Commit cb85515

Browse files
Set up default protection ruleset for default and release branches
1 parent ff11e0e commit cb85515

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

.asf.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,24 @@ github:
2424
issues: false
2525
projects: false
2626
enabled_merge_buttons:
27-
squash: true
28-
merge: false
29-
rebase: false
27+
squash: true
28+
merge: false
29+
rebase: false
30+
rulesets:
31+
- name: "Default Branch Protection"
32+
type: branch
33+
branches:
34+
includes:
35+
- "~DEFAULT_BRANCH"
36+
- "release/*"
37+
- "rel/*"
38+
excludes: []
39+
bypass_teams:
40+
- root
41+
restrict_deletion: true
42+
restrict_force_push: true
3043
notifications:
31-
commits: commits@ignite.apache.org
32-
issues: notifications@ignite.apache.org
44+
commits: commits@ignite.apache.org
45+
issues: notifications@ignite.apache.org
3346
pullrequests: notifications@ignite.apache.org
3447
jira_options: link label worklog

0 commit comments

Comments
 (0)