fix(release): correctly parse channel argument in patch workflow (#8750)

This commit is contained in:
Sandy Tao
2025-09-18 13:16:43 -07:00
committed by GitHub
parent 1f31443ed1
commit 0fcda10082

View File

@@ -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,