Skip to content

Commit 41cdbc4

Browse files
[INFRA] Set up default rulesets for default and release branches (#480)
* Set up default protection ruleset for default and release branches * Apply suggestion from @ctubbsii --------- Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
1 parent 81a9c56 commit 41cdbc4

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
@@ -20,8 +20,8 @@
2020
# https://github.com/apache/infrastructure-asfyaml/blob/main/README.md
2121

2222
notifications:
23-
commits: commits@accumulo.apache.org
24-
issues: notifications@accumulo.apache.org
23+
commits: commits@accumulo.apache.org
24+
issues: notifications@accumulo.apache.org
2525
pullrequests: notifications@accumulo.apache.org
2626
jira_options: worklog
2727

@@ -38,15 +38,28 @@ github:
3838
wiki: false
3939
issues: true
4040
projects: true
41-
dependabot_alerts: true
41+
dependabot_alerts: true
4242
dependabot_updates: false
4343

44+
rulesets:
45+
- name: "Default Branch Protection"
46+
type: branch
47+
branches:
48+
includes:
49+
- "~DEFAULT_BRANCH"
50+
- "release/*"
51+
- "rel/*"
52+
excludes: []
53+
bypass_teams:
54+
- root
55+
restrict_deletion: true
56+
restrict_force_push: true
4457
staging:
4558
profile: ~
46-
whoami: asf-staging
59+
whoami: asf-staging
4760

4861
publish:
49-
whoami: asf-site
62+
whoami: asf-site
5063

5164
jekyll:
5265
whoami: main

0 commit comments

Comments
 (0)