diff --git a/entrypoint.sh b/entrypoint.sh index 83c9f70..5ee2666 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -149,7 +149,7 @@ for repository in "${REPOSITORIES[@]}"; do }, restrictions:{ users:[""], - apps:null, + apps:[""], teams:[$restrictPushesTeamAllowed] } }' \ @@ -158,7 +158,7 @@ for repository in "${REPOSITORIES[@]}"; do -H "Accept: application/vnd.github.luke-cage-preview+json" \ -H "Content-Type: application/json" \ -u ${USERNAME}:${GITHUB_TOKEN} \ - --verbose \ + --silent \ ${GITHUB_API_URL}/repos/${repository}/branches/${BRANCH_PROTECTION_NAME}/protection elif [ "$BRANCH_PROTECTION_ENABLED" == "false" ]; then curl \