Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 7775ecd

Browse files
Bot Updating Templated Files
1 parent a67a168 commit 7775ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,11 +839,11 @@ pipeline {
839839
steps {
840840
echo "Setting up protection for release branch main"
841841
sh '''#! /bin/bash
842-
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/main/protection \
842+
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/main/protection \
843843
-d $(jq -c . << EOF
844844
{
845845
"required_status_checks": null,
846-
"enforce_admins": true,
846+
"enforce_admins": false,
847847
"required_pull_request_reviews": {
848848
"dismiss_stale_reviews": false,
849849
"require_code_owner_reviews": false,

0 commit comments

Comments
 (0)