-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add branch protection rule (#3247)
In this PR: - Add branch protection rule for the main branch.
- Loading branch information
1 parent
86d563f
commit 0a1ee23
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,34 @@ | ||
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) | ||
- cla/google | ||
- compatibility | ||
- graalvm-presubmit-sdk-platform-java-a | ||
- graalvm-presubmit-sdk-platform-java-b | ||
- library_generation | ||
- library-generation-integration-tests | ||
- library-generation-lint-python | ||
- library-generation-lint-shell | ||
- library-generation-unit-tests | ||
- lint | ||
- should-run-library-generation-tests | ||
- showcase (11) | ||
- showcase (17) | ||
permissionRules: | ||
- team: yoshi-admins | ||
permission: admin | ||
- team: yoshi-java-admins | ||
permission: admin | ||
- team: yoshi-java | ||
permission: push |