From 0fcda10082fa6e2b7f21c01dc4eee2fc4aeb2b37 Mon Sep 17 00:00:00 2001 From: Sandy Tao Date: Thu, 18 Sep 2025 13:16:43 -0700 Subject: [PATCH] fix(release): correctly parse channel argument in patch workflow (#8750) --- .github/workflows/release-patch-from-comment.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-patch-from-comment.yml b/.github/workflows/release-patch-from-comment.yml index c09d76cfec..c1d2c549eb 100644 --- a/.github/workflows/release-patch-from-comment.yml +++ b/.github/workflows/release-patch-from-comment.yml @@ -55,8 +55,7 @@ jobs: uses: 'actions/github-script@00f12e3e20659f42342b1c0226afda7f7c042325' with: script: | - const argsStr = '${{ steps.slash_command.outputs.command-arguments }}'; - const args = argsStr ? JSON.parse(argsStr) : {}; + const args = ${{ fromJSON(steps.slash_command.outputs.command-arguments) }}; github.rest.actions.createWorkflowDispatch({ owner: context.repo.owner, repo: context.repo.repo,