Skip to content

Commit bb9375f

Browse files
authored
chore: add branch protection rule (#3247)
In this PR: - Add branch protection rule for the main branch.
1 parent 828396f commit bb9375f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
11
rebaseMergeAllowed: true
22
squashMergeAllowed: true
33
mergeCommitAllowed: false
4+
branchProtectionRules:
5+
- pattern: main
6+
isAdminEnforced: true
7+
requiredApprovingReviewCount: 1
8+
requiresCodeOwnerReviews: true
9+
requiresStrictStatusChecks: false
10+
requiredStatusCheckContexts:
11+
- build(8) except for gapic-generator-java
12+
- build(8) for gapic-generator-java
13+
- build (11)
14+
- build (17)
15+
- cla/google
16+
- compatibility
17+
- graalvm-presubmit-sdk-platform-java-a
18+
- graalvm-presubmit-sdk-platform-java-b
19+
- library_generation
20+
- library-generation-integration-tests
21+
- library-generation-lint-python
22+
- library-generation-lint-shell
23+
- library-generation-unit-tests
24+
- lint
25+
- should-run-library-generation-tests
26+
- showcase (11)
27+
- showcase (17)
28+
permissionRules:
29+
- team: yoshi-admins
30+
permission: admin
31+
- team: yoshi-java-admins
32+
permission: admin
33+
- team: yoshi-java
34+
permission: push

0 commit comments

Comments
 (0)