Skip to content

Commit

Permalink
Quote commit sha 4
Browse files Browse the repository at this point in the history
  • Loading branch information
antlai-temporal committed Jun 10, 2024
1 parent 99078bf commit 356c64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trigger-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
WORKFLOW_ID: update-submodules.yml
REPO: ${{ toJSON('cli') }}
BRANCH: ${{ toJSON(steps.get_branch.outputs.branch) }}
COMMIT: ${{ toJSON(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"' }}'

0 comments on commit 356c64a

Please sign in to comment.