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 9152d5c commit cb5cab3Copy full SHA for cb5cab3
entrypoint.sh
@@ -149,7 +149,7 @@ for repository in "${REPOSITORIES[@]}"; do
149
},
150
restrictions:{
151
users:[""],
152
- apps:null,
+ apps:[""],
153
teams:[$restrictPushesTeamAllowed]
154
}
155
}' \
@@ -158,7 +158,7 @@ for repository in "${REPOSITORIES[@]}"; do
158
-H "Accept: application/vnd.github.luke-cage-preview+json" \
159
-H "Content-Type: application/json" \
160
-u ${USERNAME}:${GITHUB_TOKEN} \
161
- --verbose \
+ --silent \
162
${GITHUB_API_URL}/repos/${repository}/branches/${BRANCH_PROTECTION_NAME}/protection
163
elif [ "$BRANCH_PROTECTION_ENABLED" == "false" ]; then
164
curl \
0 commit comments