Skip to content

Commit

Permalink
Disable enforcing branch-protection for admins
Browse files Browse the repository at this point in the history
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
  • Loading branch information
plowin authored and ameowlia committed Aug 25, 2023
1 parent 208ccfd commit 1d93670
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org/branchprotection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1d93670

Please sign in to comment.