mirror of
https://github.com/linuxserver/docker-beets
synced 2025-12-06 16:34:31 +01:00
Bot Updating Templated Files
This commit is contained in:
parent
0a6a9fdd1d
commit
11d07aba30
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -829,11 +829,11 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
echo "Setting up protection for release branch master"
|
echo "Setting up protection for release branch master"
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/master/protection \
|
curl -H "Authorization: token ${GITHUB_TOKEN}" -X PUT https://api.github.com/repos/${LS_USER}/${LS_REPO}/branches/master/protection \
|
||||||
-d $(jq -c . << EOF
|
-d $(jq -c . << EOF
|
||||||
{
|
{
|
||||||
"required_status_checks": null,
|
"required_status_checks": null,
|
||||||
"enforce_admins": true,
|
"enforce_admins": false,
|
||||||
"required_pull_request_reviews": {
|
"required_pull_request_reviews": {
|
||||||
"dismiss_stale_reviews": false,
|
"dismiss_stale_reviews": false,
|
||||||
"require_code_owner_reviews": false,
|
"require_code_owner_reviews": false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue