File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 39
39
curl -s -H "Authorization: token $GITHUB_TOKEN" ${{ github.event.workflow_run.artifacts_url }} > artifacts.json
40
40
DOWNLOAD_URL=$(cat artifacts.json | jq -r '.artifacts[] | select(.name == "pull-request-payload") | .archive_download_url')
41
41
[ -z "$DOWNLOAD_URL" ] && exit 1
42
- wget --quiet --header= "Authorization: token $GITHUB_TOKEN" -O pull_request_payload.zip $DOWNLOAD_URL || exit 2
42
+ curl -sSL -H "Authorization: token $GITHUB_TOKEN" -o pull_request_payload.zip $DOWNLOAD_URL || exit 2
43
43
unzip -p pull_request_payload.zip > pull_request_payload.json
44
44
[ -s pull_request_payload.json ] || exit 3
45
45
echo "::set-output name=pr_author_login::$(jq -r '.user.login // empty' pull_request_payload.json)"
You can’t perform that action at this time.
0 commit comments