Skip to content

Commit

Permalink
fix: restrict repo settings changes to admins (#360)
Browse files Browse the repository at this point in the history
Otherwise, anyone with write access can update these settings.
  • Loading branch information
miraleung authored Oct 1, 2020
1 parent 8b9da3e commit 2634594
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
rebaseMergeAllowed: true
squashMergeAllowed: true
mergeCommitAllowed: false
branchProtectionRules:
- pattern: master
isAdminEnforced: false
requiredStatusCheckContexts:
- 'ci/circleci: gapic-generator-java-tests'
- 'ci/circleci: google-java-format'
- 'ci/circleci: license-header'
- 'cla/google'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: true

0 comments on commit 2634594

Please sign in to comment.