From 1d93670f2c032b35b72a1e51919e014bd6166cfa Mon Sep 17 00:00:00 2001 From: Patrick Lowin Date: Tue, 22 Aug 2023 08:02:49 +0200 Subject: [PATCH] Disable enforcing branch-protection for admins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This disables the following branch-protection rules for the repos `haproxy-boshrelease` and `pcap-release` > Do not allow bypassing the above settings > The above settings will apply to administrators and custom roles with the “bypass branch protections” permission --- org/branchprotection.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org/branchprotection.yml b/org/branchprotection.yml index d7cc15a5..5e3620f9 100644 --- a/org/branchprotection.yml +++ b/org/branchprotection.yml @@ -53,7 +53,7 @@ branch-protection: protect: false haproxy-boshrelease: protect: true - enforce_admins: true + enforce_admins: false allow_force_pushes: false allow_deletions: false allow_disabled_policies: true @@ -68,7 +68,7 @@ branch-protection: teams: ["wg-app-runtime-platform-bots"] pcap-release: protect: true - enforce_admins: true + enforce_admins: false allow_force_pushes: false allow_deletions: false allow_disabled_policies: true