File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424echo -e " \033[36mLearn more:\033[0m $DOCS_URL "
2525echo " "
2626
27- if [ " $REPO_PRIVATE " = " true " ]; then
27+ if [ " $REPO_PRIVATE " ! = " false " ]; then
2828 SERVER_URL=" ${GITHUB_SERVER_URL:- https:// github.com} "
2929
3030 if [ " $SERVER_URL " != " https://github.com" ]; then
@@ -44,8 +44,8 @@ if [ "$REPO_PRIVATE" = "true" ]; then
4444 if [ $CURL_EXIT_CODE -ne 0 ]; then
4545 echo " Timeout or API not reachable. Continuing to next step."
4646 elif [ " $RESPONSE " = " 403" ]; then
47- echo -e " \033[1;31mThis action requires a StepSecurity subscription for private repositories.\033[0m"
48- echo -e " \033[31mLearn how to enable a subscription: $DOCS_URL \033[0m"
47+ echo -e " ::error:: \033[1;31mThis action requires a StepSecurity subscription for private repositories.\033[0m"
48+ echo -e " ::error:: \033[31mLearn how to enable a subscription: $DOCS_URL \033[0m"
4949 exit 1
5050 fi
5151fi
You can’t perform that action at this time.
0 commit comments