From 2d5b0e4728542ec747fc5dcfe2461ada48971193 Mon Sep 17 00:00:00 2001 From: Andrew Starr-Bochicchio Date: Tue, 17 Sep 2024 12:44:17 -0400 Subject: [PATCH] Correctly quote variables in client gen workflow. (#336) --- .github/workflows/python-client-gen.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-client-gen.yml b/.github/workflows/python-client-gen.yml index 8c9281f..dc9ac12 100644 --- a/.github/workflows/python-client-gen.yml +++ b/.github/workflows/python-client-gen.yml @@ -87,14 +87,14 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Check pr_title outputs - run: echo ${{ steps.pr_title_var.outputs.PR_TITLE }} + run: echo "${{ steps.pr_title_var.outputs.PR_TITLE }}" - name: Create Pull Request id: create-pr if: steps.add-commit-changes.outcome == 'success' run: | - export CURRENT=$(cat DO_OPENAPI_COMMIT_SHA.txt) - export TARGET=${{ github.event.inputs.openapi_short_sha }} + export CURRENT="$(cat DO_OPENAPI_COMMIT_SHA.txt)" + export TARGET="${{ github.event.inputs.openapi_short_sha }}" export TITLE="${{ steps.pr_title_var.outputs.PR_TITLE }}" envsubst < scripts/pr_body.md_tmpl > pr_body.md cat changelist.md >> pr_body.md