From 83f338d45be537ea66e1387a73a39e32ac238fc4 Mon Sep 17 00:00:00 2001 From: Dov Shlachter Date: Thu, 22 Oct 2020 14:13:01 -0700 Subject: [PATCH 1/2] chore: add a sync-repo-settings file --- .github/sync-repo-settings.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/sync-repo-settings.yaml diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml new file mode 100644 index 00000000..f5ecde12 --- /dev/null +++ b/.github/sync-repo-settings.yaml @@ -0,0 +1,17 @@ +rebaseMergeAllowed: true +squashMergeAllowed: true +mergeCommitAllowed: false +branchProtectionRules: +- pattern: master + isAdminEnforced: true + requiredStatusCheckContexts: + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: true +permissionRules: + - team: actools-python + permission: admin + - team: actools + permission: admin + - team: yoshi-python + permission: push From 2cccfe4d1f9fffc96c76f5f30904b406f4356522 Mon Sep 17 00:00:00 2001 From: Dov Shlachter Date: Thu, 22 Oct 2020 14:19:29 -0700 Subject: [PATCH 2/2] Tweak --- .github/sync-repo-settings.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index f5ecde12..4a559eaf 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -4,7 +4,6 @@ mergeCommitAllowed: false branchProtectionRules: - pattern: master isAdminEnforced: true - requiredStatusCheckContexts: requiredApprovingReviewCount: 1 requiresCodeOwnerReviews: true requiresStrictStatusChecks: true