From 1349a84c4b42daca0d4670459719fb9c7361852e Mon Sep 17 00:00:00 2001 From: Mira Leung Date: Thu, 1 Oct 2020 13:56:33 -0700 Subject: [PATCH] fix: restrict repo settings changes to admins Otherwise, anyone with write access can update these settings. --- .github/sync-repo-settings.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index e15dd12db9..e003740d5d 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -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