We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a131a3 commit 9752631Copy full SHA for 9752631
1 file changed
Jenkinsfile
@@ -839,11 +839,11 @@ pipeline {
839
steps {
840
echo "Setting up protection for release branch main"
841
sh '''#! /bin/bash
842
- 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 \
843
-d $(jq -c . << EOF
844
{
845
"required_status_checks": null,
846
- "enforce_admins": true,
+ "enforce_admins": false,
847
"required_pull_request_reviews": {
848
"dismiss_stale_reviews": false,
849
"require_code_owner_reviews": false,
0 commit comments