aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2024-04-27 19:58:55 +0200
committerGravatar Johannes Christ <[email protected]>2024-04-27 20:04:24 +0200
commitf8bdcb770f525257105c678715b8bae80f813e40 (patch)
tree1a203e2f3185a4ae7646ed34e6f14d9aa29f0e3f
parentUse curl for sending status embed (diff)
Remove debug command from status embed workflow
-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 8c96b5d..bf85dbe 100644
--- a/.github/workflows/status_embed.yaml
+++ b/.github/workflows/status_embed.yaml
@@ -33,7 +33,7 @@ jobs:
id: pr_info
if: github.event.workflow_run.event == 'pull_request'
run: |
- curl -s -H "Authorization: token $GITHUB_TOKEN" ${{ github.event.workflow_run.artifacts_url }} | tee artifacts.json
+ 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
curl -sSL -H "Authorization: token $GITHUB_TOKEN" -o pull_request_payload.zip $DOWNLOAD_URL || exit 2