We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b70cb50 commit f7f2eb0Copy full SHA for f7f2eb0
ci/scripts/detect-jdk-updates.sh
@@ -43,7 +43,7 @@ if [[ $current = $latest ]]; then
43
exit 0;
44
fi
45
46
-milestone_response=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION}/${GITHUB_REPO}/milestones\?state\=open )
+milestone_response=$( curl -s -u ${GITHUB_USERNAME}:${GITHUB_PASSWORD} https://api.github.com/repos/${GITHUB_ORGANIZATION}/${GITHUB_REPO}/milestones\?state\=open )
47
milestone_result=$( jq -r -c --arg MILESTONE "$MILESTONE" '.[] | select(has("title")) | select(.title==$MILESTONE)' <<< "$milestone_response" )
48
if [[ ${milestone_result} = "null" || ${milestone_result} = "" ]]; then
49
echo "Could not parse milestone: $milestone_response"
0 commit comments