From 1a6ead60a2d9a908accbd0c807b7c4664da573d7 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Wed, 11 Oct 2023 01:19:28 +0000 Subject: [PATCH] Bot Updating Templated Files --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fce3c79..cb653b1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -830,11 +830,11 @@ pipeline { steps { echo "Setting up protection for release branch main" sh '''#! /bin/bash - curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/main/protection \ + curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/main/protection \ -d $(jq -c . << EOF { "required_status_checks": null, - "enforce_admins": true, + "enforce_admins": false, "required_pull_request_reviews": { "dismiss_stale_reviews": false, "require_code_owner_reviews": false,