From 99078bf46d4edde77fb65c0ca5387bd4bb756d18 Mon Sep 17 00:00:00 2001 From: Antonio Lain Date: Mon, 10 Jun 2024 15:41:28 -0700 Subject: [PATCH] Quote commit sha 3 --- .github/workflows/trigger-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-publish.yml b/.github/workflows/trigger-publish.yml index c2056ce2..f5ef6685 100644 --- a/.github/workflows/trigger-publish.yml +++ b/.github/workflows/trigger-publish.yml @@ -35,6 +35,6 @@ jobs: WORKFLOW_ID: update-submodules.yml REPO: ${{ toJSON('cli') }} BRANCH: ${{ toJSON(steps.get_branch.outputs.branch) }} - COMMIT: ${{ toJSON(${{ env.GITHUB_SHA }}) }} + COMMIT: ${{ toJSON(GITHUB_SHA) }} run: | curl -fL -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $PAT" "https://api.github.com/repos/$PARENT_REPO/actions/workflows/$WORKFLOW_ID/dispatches" -d '{"ref":'"$PARENT_BRANCH"', "inputs": { "repo":'"$REPO"', "branch":'"$BRANCH"', "commit": '"$COMMIT"' }}'