Skip to content

Commit cb5cab3

Browse files
committed
fix: curl silent and apps array
1 parent 9152d5c commit cb5cab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ for repository in "${REPOSITORIES[@]}"; do
149149
},
150150
restrictions:{
151151
users:[""],
152-
apps:null,
152+
apps:[""],
153153
teams:[$restrictPushesTeamAllowed]
154154
}
155155
}' \
@@ -158,7 +158,7 @@ for repository in "${REPOSITORIES[@]}"; do
158158
-H "Accept: application/vnd.github.luke-cage-preview+json" \
159159
-H "Content-Type: application/json" \
160160
-u ${USERNAME}:${GITHUB_TOKEN} \
161-
--verbose \
161+
--silent \
162162
${GITHUB_API_URL}/repos/${repository}/branches/${BRANCH_PROTECTION_NAME}/protection
163163
elif [ "$BRANCH_PROTECTION_ENABLED" == "false" ]; then
164164
curl \

0 commit comments

Comments
 (0)