Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: setup declarative configuration for branch protection and release-please #3091

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ handleGHRelease: true
primaryBranch: main
manifest: true
extraFiles: ["WORKSPACE", ".cloudbuild/graalvm/cloudbuild.yaml", ".cloudbuild/graalvm/cloudbuild-test-a.yaml", ".cloudbuild/graalvm/cloudbuild-test-b.yaml", ".cloudbuild/library_generation/cloudbuild-library-generation-release.yaml", "generation_config.yaml"]
branches:
- branch: 2.23.x
releaseType: java-backport
manifest: true
handleGHRelease: true
- branch: 2.40.x
releaseType: java-backport
manifest: true
handleGHRelease: true
72 changes: 72 additions & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
rebaseMergeAllowed: true
squashMergeAllowed: true
mergeCommitAllowed: false
branchProtectionRules:
- pattern: main
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- build (8) except for gapic-generator-java
- build (8) for gapic-generator-java
- build (11)
- build (17)
- build(21) except self-service clients
- showcase (11)
- showcase (17)
- showcase (21)
- showcase-native
- compatibility
- cla/google
- lint
- graalvm-presubmit-sdk-platform-java-a (cloud-devrel-kokoro-resources)
- graalvm-presubmit-sdk-platform-java-b (cloud-devrel-kokoro-resources)
- library-generation-integration-tests
- library-generation-lint-shell
- library-generation-lint-python
- should-run-library-generation-tests
- pattern: 2.23.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- build (8) except for gapic-generator-java
- build (8) for gapic-generator-java
- build (11)
- build (17)
- showcase (11)
- showcase (17)
- compatibility
- cla/google
- lint
- graalvm-presubmit-sdk-platform-java-a (cloud-devrel-kokoro-resources)
- graalvm-presubmit-sdk-platform-java-b (cloud-devrel-kokoro-resources)
- library-generation-integration-tests
- library-generation-lint-shell
- library-generation-lint-python
- should-run-library-generation-tests
- pattern: 2.40.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- build (8) except for gapic-generator-java
- build (8) for gapic-generator-java
- build (11)
- build (17)
- build(21) except self-service clients
- showcase (11)
- showcase (17)
- showcase-native
- compatibility
- cla/google
- lint
- graalvm-presubmit-sdk-platform-java-a (cloud-devrel-kokoro-resources)
- graalvm-presubmit-sdk-platform-java-b (cloud-devrel-kokoro-resources)
- library-generation-integration-tests
- library-generation-lint-shell
- library-generation-lint-python
- should-run-library-generation-tests
permissionRules:
- team: cloud-java-team-teamsync
permission: admin
Loading