Skip to content

Commit

Permalink
build: configure branch java7 as a release branch (#1470)
Browse files Browse the repository at this point in the history
enable releases
  • Loading branch information
Neenu1995 committed Aug 3, 2021
1 parent 06df9a6 commit 079c6cd
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 67 deletions.
12 changes: 8 additions & 4 deletions .github/release-please.yml
@@ -1,8 +1,12 @@
branches:
- branch: 1.127.12-sp
bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-lts
- branch: 1.127.12-sp
bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-lts
- bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-yoshi
branch: java7
bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-yoshi
119 changes: 56 additions & 63 deletions .github/sync-repo-settings.yaml
@@ -1,68 +1,61 @@
# Whether or not rebase-merging is enabled on this repository.
# Defaults to `true`
rebaseMergeAllowed: true

# Whether or not squash-merging is enabled on this repository.
# Defaults to `true`
squashMergeAllowed: true

# Whether or not PRs are merged with a merge commit on this repository.
# Defaults to `false`
mergeCommitAllowed: false

# Rules for master branch protection
branchProtectionRules:
# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `master`
- pattern: master
# 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"
- pattern: 1.127.12-sp
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
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)
- pattern: master
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (8)
- dependencies (11)
- linkage-monitor
- lint
- clirr
- units (7)
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- pattern: 1.127.12-sp
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (8)
- dependencies (11)
- linkage-monitor
- lint
- clirr
- units (7)
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- pattern: java7
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (8)
- dependencies (11)
- linkage-monitor
- lint
- clirr
- units (7)
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
permissionRules:
# Team slug to add to repository permissions
- team: api-bigquery
# Access level required, one of push|pull|admin|maintain|triage
permission: admin
- team: yoshi-java
permission: push
- team: yoshi-admins
permission: admin
- team: yoshi-java-admins
permission: admin
- team: api-bigquery
permission: admin
- team: yoshi-java
permission: push
- team: yoshi-admins
permission: admin
- team: yoshi-java-admins
permission: admin

0 comments on commit 079c6cd

Please sign in to comment.