aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Amrou Bellalouna <[email protected]>2024-07-05 20:19:07 +0100
committerGravatar GitHub <[email protected]>2024-07-05 20:19:07 +0100
commit9d94ff6627805b8b67b9330e0f3311db5db47fe6 (patch)
treed3ccee0a4bf4840e432892cc61068489a67fdc37
parentCreate sentry releases using getsentry's action (diff)
parentFix transient issues in status embed (diff)
Merge pull request #231 from python-discord/fix-status-embed-problems
Fix transient issues in status embed
-rw-r--r--.github/workflows/status_embed.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/status_embed.yaml b/.github/workflows/status_embed.yaml
index 8728383..1da81bf 100644
--- a/.github/workflows/status_embed.yaml
+++ b/.github/workflows/status_embed.yaml
@@ -24,7 +24,7 @@ jobs:
curl -s -H "Authorization: token $GITHUB_TOKEN" ${{ github.event.workflow_run.artifacts_url }} > artifacts.json
DOWNLOAD_URL=$(cat artifacts.json | jq -r '.artifacts[] | select(.name == "pull-request-payload") | .archive_download_url')
[ -z "$DOWNLOAD_URL" ] && exit 1
- wget --quiet --header="Authorization: token $GITHUB_TOKEN" -O pull_request_payload.zip $DOWNLOAD_URL || exit 2
+ curl -sSL -H "Authorization: token $GITHUB_TOKEN" -o pull_request_payload.zip $DOWNLOAD_URL || exit 2
unzip -p pull_request_payload.zip > pull_request_payload.json
[ -s pull_request_payload.json ] || exit 3
echo "::set-output name=pr_author_login::$(jq -r '.user.login // empty' pull_request_payload.json)"