From 7f14406190980b0269ddd913855faa4ccd6f3ef1 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Tue, 4 Jul 2023 23:41:19 +0800 Subject: [PATCH] publish-commit-bottles: fix bottle upload of replacement PRs Our replacement PR workflow doesn't seem to be uploading bottles from the original PR as expected (see, for example, #135757). This change is a guess at a fix, but doing it can't make anything worse. If it doesn't work we can pass the inputs as a JSON literal via stdin. --- .github/workflows/publish-commit-bottles.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-commit-bottles.yml b/.github/workflows/publish-commit-bottles.yml index 68ecf43d0191a..1ac155b35ef28 100644 --- a/.github/workflows/publish-commit-bottles.yml +++ b/.github/workflows/publish-commit-bottles.yml @@ -193,8 +193,8 @@ jobs: gh workflow run create-replacement-pr.yml \ --ref "$GITHUB_REF_NAME" \ --field pull_request="$PR" \ - --field autosquash='${{ inputs.autosquash }}' \ - --field upload='${{ !inputs.autosquash }}' \ + --field autosquash=${{ inputs.autosquash }} \ + --field upload=${{ !inputs.autosquash }} \ --field warn_on_upload_failure=false \ --field message="$INPUT_MESSAGE"