diff --git a/.github/actions/create-release-pr-for-gem/action.yml b/.github/actions/create-release-pr-for-gem/action.yml index b193546..2766f8b 100644 --- a/.github/actions/create-release-pr-for-gem/action.yml +++ b/.github/actions/create-release-pr-for-gem/action.yml @@ -62,6 +62,6 @@ runs: ${{ steps.changelog.outputs.clean_changelog }} EOF ) - ESCAPED_BODY=$(echo $BODY | sed 's/"/\\"/g') + ESCAPED_BODY=$(echo "$BODY" | sed 's/"/\\"/g') gh pr create --title "chore: Release version to v${{ steps.changelog.outputs.version }}" --body "$ESCAPED_BODY" --base ${{ inputs.base-branch }} --head release/${{ inputs.tag-prefix }}${{ steps.changelog.outputs.version }} shell: bash diff --git a/.github/actions/create-release-pr-for-npm/action.yml b/.github/actions/create-release-pr-for-npm/action.yml index 49b3f90..e26e404 100644 --- a/.github/actions/create-release-pr-for-npm/action.yml +++ b/.github/actions/create-release-pr-for-npm/action.yml @@ -58,6 +58,6 @@ runs: ${{ steps.changelog.outputs.clean_changelog }} EOF ) - ESCAPED_BODY=$(echo $BODY | sed 's/"/\\"/g') + ESCAPED_BODY=$(echo "$BODY" | sed 's/"/\\"/g') gh pr create --title "chore: Release version to v${{ steps.changelog.outputs.version }}" --body "$ESCAPED_BODY" --base ${{ inputs.base-branch }} --head release/${{ inputs.tag-prefix }}${{ steps.changelog.outputs.version }} shell: bash