We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4179f3a + f7f2eb0 commit b3dc5a8Copy full SHA for b3dc5a8
ci/scripts/detect-jdk-updates.sh
@@ -35,7 +35,7 @@ if [[ $current = $latest ]]; then
35
exit 0;
36
fi
37
38
-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 )
39
milestone_result=$( jq -r -c --arg MILESTONE "$MILESTONE" '.[] | select(has("title")) | select(.title==$MILESTONE)' <<< "$milestone_response" )
40
if [[ ${milestone_result} = "null" || ${milestone_result} = "" ]]; then
41
echo "Could not parse milestone: $milestone_response"
0 commit comments