File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ branches:
44
- branch: 3.1.x
55
releaseType: java-yoshi
66
bumpMinorPreMajor: true
7+
- branch: 4.0.x
8+
releaseType: java-yoshi
9+
bumpMinorPreMajor: true
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,39 @@ branchProtectionRules:
6666
- "units (11)"
6767
- "Kokoro - Test: Integration"
6868
- "cla/google"
69+
70+
# Identifies the protection rule pattern. Name of the branch to be protected.
71+
# Defaults to `master`
72+
- pattern: 4.0.x
73+
# Can admins overwrite branch protection.
74+
# Defaults to `true`
75+
isAdminEnforced: true
76+
# Number of approving reviews required to update matching branches.
77+
# Defaults to `1`
78+
requiredApprovingReviewCount: 1
79+
# Are reviews from code owners required to update matching branches.
80+
# Defaults to `false`
81+
requiresCodeOwnerReviews: true
82+
# Require up to date branches
83+
requiresStrictStatusChecks: false
84+
# List of required status check contexts that must pass for commits to be accepted to matching branches.
85+
requiredStatusCheckContexts:
86+
- "dependencies (8)"
87+
- "dependencies (11)"
88+
- "linkage-monitor"
89+
- "lint"
90+
- "clirr"
91+
- "units (7)"
92+
- "units (8)"
93+
- "units (11)"
94+
- "Kokoro - Test: Integration"
95+
- "cla/google"
96+
6997
# List of explicit permissions to add (additive only)
7098
permissionRules:
7199
- team: yoshi-admins
72100
permission: admin
73101
- team: yoshi-java-admins
74102
permission: admin
75103
- team: yoshi-java
76-
permission: push
104+
permission: push

0 commit comments

Comments
 (0)