Skip to content
This repository was archived by the owner on Dec 3, 2023. It is now read-only.

Commit e4155d4

Browse files
authored
build: configure java7 as a release branch (#500)
1 parent 9182248 commit e4155d4

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

.github/release-please.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
bumpMinorPreMajor: true
22
handleGHRelease: true
33
releaseType: java-yoshi
4+
branches:
5+
- bumpMinorPreMajor: true
6+
handleGHRelease: true
7+
releaseType: java-yoshi
8+
branch: java7
9+

.github/sync-repo-settings.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,34 @@ branchProtectionRules:
3434
- "linkage-monitor"
3535
- "lint"
3636
- "clirr"
37-
- "units (7)"
3837
- "units (8)"
3938
- "units (11)"
4039
- "Kokoro - Test: Integration"
4140
- "cla/google"
41+
- pattern: java7
42+
# Can admins overwrite branch protection.
43+
# Defaults to `true`
44+
isAdminEnforced: true
45+
# Number of approving reviews required to update matching branches.
46+
# Defaults to `1`
47+
requiredApprovingReviewCount: 1
48+
# Are reviews from code owners required to update matching branches.
49+
# Defaults to `false`
50+
requiresCodeOwnerReviews: true
51+
# Require up to date branches
52+
requiresStrictStatusChecks: false
53+
# List of required status check contexts that must pass for commits to be accepted to matching branches.
54+
requiredStatusCheckContexts:
55+
- "dependencies (8)"
56+
- "dependencies (11)"
57+
- "linkage-monitor"
58+
- "lint"
59+
- "clirr"
60+
- "units (7)"
61+
- "units (8)"
62+
- "units (11)"
63+
- "Kokoro - Test: Integration"
64+
- "cla/google"
4265
# List of explicit permissions to add (additive only)
4366
permissionRules:
4467
- team: yoshi-admins

0 commit comments

Comments
 (0)