Skip to content

Commit daaf41c

Browse files
Set up default protection ruleset for default and release branches
1 parent 1285419 commit daaf41c

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

.asf.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,26 @@ github:
99
- apache
1010
features:
1111
issues: true
12-
dependabot_alerts: true
12+
dependabot_alerts: true
1313
dependabot_updates: true
1414
ghp_branch: gh-pages
1515
ghp_path: /
1616

17+
rulesets:
18+
- name: "Default Branch Protection"
19+
type: branch
20+
branches:
21+
includes:
22+
- "~DEFAULT_BRANCH"
23+
- "release/*"
24+
- "rel/*"
25+
excludes: []
26+
bypass_teams:
27+
- root
28+
restrict_deletion: true
29+
restrict_force_push: true
1730
notifications:
18-
commits: commits@mina.apache.org
19-
issues: dev@mina.apache.org
31+
commits: commits@mina.apache.org
32+
issues: dev@mina.apache.org
2033
pullrequests: dev@mina.apache.org
2134
jira_options: link

0 commit comments

Comments
 (0)