Skip to content

Commit 7016f69

Browse files
authored
chore: require CODEOWNER review and up to date branches (#846)
These two lines bring the rules on this repo in line with the defaults: https://github.com/googleapis/repo-automation-bots/blob/63c858e539e1f4d9bb8ea66e12f9c0a0de5fef55/packages/sync-repo-settings/src/required-checks.json#L40-L50
1 parent 20df24b commit 7016f69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/sync-repo-settings.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ branchProtectionRules:
44
# Identifies the protection rule pattern. Name of the branch to be protected.
55
# Defaults to `master`
66
- pattern: master
7+
requiresCodeOwnerReviews: true
8+
requiresStrictStatusChecks: true
79
requiredStatusCheckContexts:
810
- 'Kokoro'
911
- 'Kokoro snippets-3.8'
@@ -13,6 +15,8 @@ branchProtectionRules:
1315
- 'Samples - Python 3.7'
1416
- 'Samples - Python 3.8'
1517
- pattern: v3
18+
requiresCodeOwnerReviews: true
19+
requiresStrictStatusChecks: true
1620
requiredStatusCheckContexts:
1721
- 'Kokoro'
1822
- 'Kokoro snippets-3.8'

0 commit comments

Comments
 (0)