Skip to content

Commit c8376b9

Browse files
Set up default protection ruleset for default and release branches
1 parent 206485e commit c8376b9

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.asf.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
# under the License.
1717

1818
notifications:
19-
commits: commits@cassandra.apache.org
20-
issues: commits@cassandra.apache.org
19+
commits: commits@cassandra.apache.org
20+
issues: commits@cassandra.apache.org
2121
pullrequests: pr@cassandra.apache.org
2222
jira_options: link worklog
2323

@@ -34,3 +34,16 @@ github:
3434
projects: false
3535
autolink_jira:
3636
- CASSANDRA
37+
rulesets:
38+
- name: "Default Branch Protection"
39+
type: branch
40+
branches:
41+
includes:
42+
- "~DEFAULT_BRANCH"
43+
- "release/*"
44+
- "rel/*"
45+
excludes: []
46+
bypass_teams:
47+
- root
48+
restrict_deletion: true
49+
restrict_force_push: true

0 commit comments

Comments
 (0)