File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,16 +36,20 @@ jobs:
3636 # echo $url_line
3737 url=$(echo "$url_line"|cut -d '(' -f2 | cut -d ')' -f1|sed 's/\.git$//')
3838 path=$(echo "$url_line"|cut -d':' -f1 | cut -d'/' -f2-)
39- sleep $delay
40- response=$(curl -L -s -o /dev/null -w "%{http_code}" "$url")|| true
41- if [ "$response" -ne 200 ]; then
42- echo "**********Validation failed ($response), try again**********"
43- response_retry=$(curl -s -o /dev/null -w "%{http_code}" "$url")
44- if [ "$response_retry" -eq 200 ]; then
45- echo "*****Retry successfully*****"
46- else
47- echo "Invalid link ($response_retry) from ${{github.workspace}}/$path: $url"
48- fail="TRUE"
39+ if [[ "$url" == "https://platform.openai.com/api-keys"* ]]; then
40+ echo "Link "$url" from ${{github.workspace}}/$path needs to be verified by a real person."
41+ else
42+ sleep $delay
43+ response=$(curl -L -s -o /dev/null -w "%{http_code}" "$url")|| true
44+ if [ "$response" -ne 200 ]; then
45+ echo "**********Validation failed ($response), try again**********"
46+ response_retry=$(curl -s -o /dev/null -w "%{http_code}" "$url")
47+ if [ "$response_retry" -eq 200 ]; then
48+ echo "*****Retry successfully*****"
49+ else
50+ echo "Invalid link ($response_retry) from ${{github.workspace}}/$path: $url"
51+ fail="TRUE"
52+ fi
4953 fi
5054 fi
5155 done
You can’t perform that action at this time.
0 commit comments