Skip to content

Commit 22412e0

Browse files
authored
chore: updates settings for 5.2.x branch (#1002)
Sets branch 5.2.x as a protected branch. Configures CI and release please for such branch.
1 parent a71079f commit 22412e0

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/release-please.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ branches:
77
- branch: 4.0.x
88
releaseType: java-yoshi
99
bumpMinorPreMajor: true
10+
- branch: 5.2.x
11+
releaseType: java-yoshi
12+
bumpMinorPreMajor: true
13+

.github/sync-repo-settings.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,33 @@ branchProtectionRules:
9393
- "Kokoro - Test: Integration"
9494
- "cla/google"
9595

96+
# Identifies the protection rule pattern. Name of the branch to be protected.
97+
# Defaults to `master`
98+
- pattern: 5.2.x
99+
# Can admins overwrite branch protection.
100+
# Defaults to `true`
101+
isAdminEnforced: true
102+
# Number of approving reviews required to update matching branches.
103+
# Defaults to `1`
104+
requiredApprovingReviewCount: 1
105+
# Are reviews from code owners required to update matching branches.
106+
# Defaults to `false`
107+
requiresCodeOwnerReviews: true
108+
# Require up to date branches
109+
requiresStrictStatusChecks: false
110+
# List of required status check contexts that must pass for commits to be accepted to matching branches.
111+
requiredStatusCheckContexts:
112+
- "dependencies (8)"
113+
- "dependencies (11)"
114+
- "linkage-monitor"
115+
- "lint"
116+
- "clirr"
117+
- "units (7)"
118+
- "units (8)"
119+
- "units (11)"
120+
- "Kokoro - Test: Integration"
121+
- "cla/google"
122+
96123
# List of explicit permissions to add (additive only)
97124
permissionRules:
98125
- team: yoshi-admins

0 commit comments

Comments
 (0)