Skip to content

Commit

Permalink
publish-commit-bottles: fix bottle upload of replacement PRs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
carlocab committed Jul 4, 2023
1 parent b0f8ce0 commit 7f14406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-commit-bottles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7f14406

Please sign in to comment.