Skip to content

Commit

Permalink
chore: add branch protection rule (#3247)
Browse files Browse the repository at this point in the history
In this PR:
- Add branch protection rule for the main branch.
  • Loading branch information
JoeWang1127 authored Sep 27, 2024
1 parent 86d563f commit 0a1ee23
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/sync-repo-settings.yaml
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

0 comments on commit 0a1ee23

Please sign in to comment.