From 34421fdb7636c65260d0305b6f94616f5d05de2b Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 22 Oct 2024 19:52:16 +0200 Subject: [PATCH] fix payload --- .forgejo/workflows/linting.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/linting.yml b/.forgejo/workflows/linting.yml index 1f36d96..a41c353 100644 --- a/.forgejo/workflows/linting.yml +++ b/.forgejo/workflows/linting.yml @@ -28,9 +28,10 @@ jobs: steps: - name: Launch workflow run: | + payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"container_tag\": \"0.2.0-pre.13\" }}" curl -X "POST" \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -H "Authorization: token ${GITHUB_TOKEN}" \ - -d '{"ref": "${GITHUB_REF_NAME}", "inputs": { "container_tag": "0.2.0-pre.13" }}' \ - "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v --trace-ascii - \ No newline at end of file + -d "${payload}" \ + "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v \ No newline at end of file