|
1 | | - |
2 | | -# Whether or not rebase-merging is enabled on this repository. |
3 | | -# Defaults to `true` |
4 | 1 | rebaseMergeAllowed: false |
5 | | - |
6 | | -# Whether or not squash-merging is enabled on this repository. |
7 | | -# Defaults to `true` |
8 | 2 | squashMergeAllowed: true |
9 | | - |
10 | | -# Whether or not PRs are merged with a merge commit on this repository. |
11 | | -# Defaults to `false` |
12 | 3 | mergeCommitAllowed: false |
13 | | - |
14 | | -# Rules for master branch protection |
15 | 4 | branchProtectionRules: |
16 | | -# Identifies the protection rule pattern. Name of the branch to be protected. |
17 | | -# Defaults to `master` |
18 | | -- pattern: master |
19 | | - # Can admins overwrite branch protection. |
20 | | - # Defaults to `true` |
21 | | - isAdminEnforced: true |
22 | | - # Number of approving reviews required to update matching branches. |
23 | | - # Defaults to `1` |
24 | | - requiredApprovingReviewCount: 1 |
25 | | - # Are reviews from code owners required to update matching branches. |
26 | | - # Defaults to `false` |
27 | | - requiresCodeOwnerReviews: true |
28 | | - # Require up to date branches |
29 | | - requiresStrictStatusChecks: false |
30 | | - # List of required status check contexts that must pass for commits to be accepted to matching branches. |
31 | | - requiredStatusCheckContexts: |
32 | | - - "dependencies (8)" |
33 | | - - "dependencies (11)" |
34 | | - - "linkage-monitor" |
35 | | - - "lint" |
36 | | - - "clirr" |
37 | | - - "units (8)" |
38 | | - - "units (11)" |
39 | | - - "Kokoro - Test: Integration" |
40 | | - - "cla/google" |
41 | | - |
42 | | -# Identifies the protection rule pattern. Name of the branch to be protected. |
43 | | -# Defaults to `master` |
44 | | -- pattern: 3.1.x |
45 | | - # Can admins overwrite branch protection. |
46 | | - # Defaults to `true` |
47 | | - isAdminEnforced: true |
48 | | - # Number of approving reviews required to update matching branches. |
49 | | - # Defaults to `1` |
50 | | - requiredApprovingReviewCount: 1 |
51 | | - # Are reviews from code owners required to update matching branches. |
52 | | - # Defaults to `false` |
53 | | - requiresCodeOwnerReviews: true |
54 | | - # Require up to date branches |
55 | | - requiresStrictStatusChecks: false |
56 | | - # List of required status check contexts that must pass for commits to be accepted to matching branches. |
57 | | - requiredStatusCheckContexts: |
58 | | - - "dependencies (8)" |
59 | | - - "dependencies (11)" |
60 | | - - "lint" |
61 | | - - "units (7)" |
62 | | - - "units (8)" |
63 | | - - "units (11)" |
64 | | - - "Kokoro - Test: Integration" |
65 | | - - "cla/google" |
66 | | - |
67 | | -# Identifies the protection rule pattern. Name of the branch to be protected. |
68 | | -# Defaults to `master` |
69 | | -- pattern: 3.3.x |
70 | | - # Can admins overwrite branch protection. |
71 | | - # Defaults to `true` |
72 | | - isAdminEnforced: true |
73 | | - # Number of approving reviews required to update matching branches. |
74 | | - # Defaults to `1` |
75 | | - requiredApprovingReviewCount: 1 |
76 | | - # Are reviews from code owners required to update matching branches. |
77 | | - # Defaults to `false` |
78 | | - requiresCodeOwnerReviews: true |
79 | | - # Require up to date branches |
80 | | - requiresStrictStatusChecks: false |
81 | | - # List of required status check contexts that must pass for commits to be accepted to matching branches. |
82 | | - requiredStatusCheckContexts: |
83 | | - - "dependencies (8)" |
84 | | - - "dependencies (11)" |
85 | | - - "lint" |
86 | | - - "units (7)" |
87 | | - - "units (8)" |
88 | | - - "units (11)" |
89 | | - - "Kokoro - Test: Integration" |
90 | | - - "cla/google" |
91 | | - |
92 | | -# Identifies the protection rule pattern. Name of the branch to be protected. |
93 | | -# Defaults to `master` |
94 | | -- pattern: 4.0.x |
95 | | - # Can admins overwrite branch protection. |
96 | | - # Defaults to `true` |
97 | | - isAdminEnforced: true |
98 | | - # Number of approving reviews required to update matching branches. |
99 | | - # Defaults to `1` |
100 | | - requiredApprovingReviewCount: 1 |
101 | | - # Are reviews from code owners required to update matching branches. |
102 | | - # Defaults to `false` |
103 | | - requiresCodeOwnerReviews: true |
104 | | - # Require up to date branches |
105 | | - requiresStrictStatusChecks: false |
106 | | - # List of required status check contexts that must pass for commits to be accepted to matching branches. |
107 | | - requiredStatusCheckContexts: |
108 | | - - "dependencies (8)" |
109 | | - - "dependencies (11)" |
110 | | - - "lint" |
111 | | - - "units (7)" |
112 | | - - "units (8)" |
113 | | - - "units (11)" |
114 | | - - "Kokoro - Test: Integration" |
115 | | - - "cla/google" |
116 | | - |
117 | | -# Identifies the protection rule pattern. Name of the branch to be protected. |
118 | | -# Defaults to `master` |
119 | | -- pattern: 5.2.x |
120 | | - # Can admins overwrite branch protection. |
121 | | - # Defaults to `true` |
122 | | - isAdminEnforced: true |
123 | | - # Number of approving reviews required to update matching branches. |
124 | | - # Defaults to `1` |
125 | | - requiredApprovingReviewCount: 1 |
126 | | - # Are reviews from code owners required to update matching branches. |
127 | | - # Defaults to `false` |
128 | | - requiresCodeOwnerReviews: true |
129 | | - # Require up to date branches |
130 | | - requiresStrictStatusChecks: false |
131 | | - # List of required status check contexts that must pass for commits to be accepted to matching branches. |
132 | | - requiredStatusCheckContexts: |
133 | | - - "dependencies (8)" |
134 | | - - "dependencies (11)" |
135 | | - - "lint" |
136 | | - - "units (7)" |
137 | | - - "units (8)" |
138 | | - - "units (11)" |
139 | | - - "Kokoro - Test: Integration" |
140 | | - - "cla/google" |
141 | | - |
142 | | -# List of explicit permissions to add (additive only) |
| 5 | + - pattern: master |
| 6 | + isAdminEnforced: true |
| 7 | + requiredApprovingReviewCount: 1 |
| 8 | + requiresCodeOwnerReviews: true |
| 9 | + requiresStrictStatusChecks: false |
| 10 | + requiredStatusCheckContexts: |
| 11 | + - dependencies (8) |
| 12 | + - dependencies (11) |
| 13 | + - linkage-monitor |
| 14 | + - lint |
| 15 | + - clirr |
| 16 | + - units (8) |
| 17 | + - units (11) |
| 18 | + - 'Kokoro - Test: Integration' |
| 19 | + - cla/google |
| 20 | + - pattern: 3.1.x |
| 21 | + isAdminEnforced: true |
| 22 | + requiredApprovingReviewCount: 1 |
| 23 | + requiresCodeOwnerReviews: true |
| 24 | + requiresStrictStatusChecks: false |
| 25 | + requiredStatusCheckContexts: |
| 26 | + - dependencies (8) |
| 27 | + - dependencies (11) |
| 28 | + - lint |
| 29 | + - units (7) |
| 30 | + - units (8) |
| 31 | + - units (11) |
| 32 | + - 'Kokoro - Test: Integration' |
| 33 | + - cla/google |
| 34 | + - pattern: 3.3.x |
| 35 | + isAdminEnforced: true |
| 36 | + requiredApprovingReviewCount: 1 |
| 37 | + requiresCodeOwnerReviews: true |
| 38 | + requiresStrictStatusChecks: false |
| 39 | + requiredStatusCheckContexts: |
| 40 | + - dependencies (8) |
| 41 | + - dependencies (11) |
| 42 | + - lint |
| 43 | + - units (7) |
| 44 | + - units (8) |
| 45 | + - units (11) |
| 46 | + - 'Kokoro - Test: Integration' |
| 47 | + - cla/google |
| 48 | + - pattern: 4.0.x |
| 49 | + isAdminEnforced: true |
| 50 | + requiredApprovingReviewCount: 1 |
| 51 | + requiresCodeOwnerReviews: true |
| 52 | + requiresStrictStatusChecks: false |
| 53 | + requiredStatusCheckContexts: |
| 54 | + - dependencies (8) |
| 55 | + - dependencies (11) |
| 56 | + - lint |
| 57 | + - units (7) |
| 58 | + - units (8) |
| 59 | + - units (11) |
| 60 | + - 'Kokoro - Test: Integration' |
| 61 | + - cla/google |
| 62 | + - pattern: 5.2.x |
| 63 | + isAdminEnforced: true |
| 64 | + requiredApprovingReviewCount: 1 |
| 65 | + requiresCodeOwnerReviews: true |
| 66 | + requiresStrictStatusChecks: false |
| 67 | + requiredStatusCheckContexts: |
| 68 | + - dependencies (8) |
| 69 | + - dependencies (11) |
| 70 | + - lint |
| 71 | + - units (7) |
| 72 | + - units (8) |
| 73 | + - units (11) |
| 74 | + - 'Kokoro - Test: Integration' |
| 75 | + - cla/google |
| 76 | + - pattern: 3.3.3-sp |
| 77 | + isAdminEnforced: true |
| 78 | + requiredApprovingReviewCount: 1 |
| 79 | + requiresCodeOwnerReviews: true |
| 80 | + requiresStrictStatusChecks: false |
| 81 | + requiredStatusCheckContexts: |
| 82 | + - dependencies (8) |
| 83 | + - dependencies (11) |
| 84 | + - linkage-monitor |
| 85 | + - lint |
| 86 | + - clirr |
| 87 | + - units (8) |
| 88 | + - units (11) |
| 89 | + - 'Kokoro - Test: Integration' |
| 90 | + - cla/google |
143 | 91 | permissionRules: |
144 | | -- team: yoshi-admins |
145 | | - permission: admin |
146 | | -- team: yoshi-java-admins |
147 | | - permission: admin |
148 | | -- team: yoshi-java |
149 | | - permission: push |
| 92 | + - team: yoshi-admins |
| 93 | + permission: admin |
| 94 | + - team: yoshi-java-admins |
| 95 | + permission: admin |
| 96 | + - team: yoshi-java |
| 97 | + permission: push |
0 commit comments