Skip to content

Commit

Permalink
build: add 3.1.x branch as protected and releasable (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored and thiagotnunes committed May 6, 2021
1 parent c02de41 commit 4164359
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
releaseType: java-yoshi
bumpMinorPreMajor: true
bumpMinorPreMajor: true
branches:
- branch: 3.1.x
releaseType: java-yoshi
bumpMinorPreMajor: true
27 changes: 27 additions & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,33 @@ branchProtectionRules:
- "units (11)"
- "Kokoro - Test: Integration"
- "cla/google"

# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `master`
- pattern: 3.1.x
# Can admins overwrite branch protection.
# Defaults to `true`
isAdminEnforced: true
# Number of approving reviews required to update matching branches.
# Defaults to `1`
requiredApprovingReviewCount: 1
# Are reviews from code owners required to update matching branches.
# Defaults to `false`
requiresCodeOwnerReviews: true
# Require up to date branches
requiresStrictStatusChecks: false
# List of required status check contexts that must pass for commits to be accepted to matching branches.
requiredStatusCheckContexts:
- "dependencies (8)"
- "dependencies (11)"
- "linkage-monitor"
- "lint"
- "clirr"
- "units (7)"
- "units (8)"
- "units (11)"
- "Kokoro - Test: Integration"
- "cla/google"
# List of explicit permissions to add (additive only)
permissionRules:
- team: yoshi-admins
Expand Down
2 changes: 2 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,6 @@
'samples/snapshot/pom.xml',
'samples/snippets/pom.xml',
'.github/CODEOWNERS',
'.github/sync-repo-settings.yaml',
'.github/release-please.yml',
])

0 comments on commit 4164359

Please sign in to comment.