From 27f49211e61d634d66f0e795a476c2fb6a9088cb Mon Sep 17 00:00:00 2001 From: Shalabh Chaturvedi Date: Tue, 7 May 2024 09:55:32 -0700 Subject: [PATCH] Fix GITHUB_ACTION quotes in prerun step --- actions/utils/prerun/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actions/utils/prerun/action.yml b/actions/utils/prerun/action.yml index f190def5..facf598d 100644 --- a/actions/utils/prerun/action.yml +++ b/actions/utils/prerun/action.yml @@ -27,14 +27,14 @@ runs: run: > echo "::notice title=Closed Pull Request::Marking branch deployment closed for this PR, will skip remaining workflow" && $GITHUB_ACTION_PATH/../../../generated/gha/dagster-cloud.pex -m dagster_cloud_cli.entrypoint ci branch-deployment prerun_checkout_dir > /tmp/closed-branch-deployment.txt && - echo "closed_branch_deployment=$(cat /tmp/closed-branch-deployment.txt)" >> $GITHUB_OUTPUT && - echo 'result=skip' >> $GITHUB_OUTPUT + echo "closed_branch_deployment=$(cat /tmp/closed-branch-deployment.txt)" >> "$GITHUB_OUTPUT" && + echo 'result=skip' >> "$GITHUB_OUTPUT" shell: bash - if: ${{ github.event.pull_request.state != 'closed' }} id: check-deployment-type run: > echo 'PR not closed (or not in a PR)' && - if [ ${ENABLE_FAST_DEPLOYS:-false} == "true" ]; then echo "result=pex-deploy"; else echo "result=docker-deploy"; fi >> $GITHUB_OUTPUT + if [ ${ENABLE_FAST_DEPLOYS:-false} == "true" ]; then echo "result=pex-deploy"; else echo "result=docker-deploy"; fi >> "$GITHUB_OUTPUT" shell: bash