Skip to content

Commit 7b57b8e

Browse files
SandyTao520giraffechen
authored andcommitted
fix(release): prevent validation error in patch-from-comment workflow (google-gemini#8759)
1 parent 786d037 commit 7b57b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-patch-from-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: 'actions/github-script@00f12e3e20659f42342b1c0226afda7f7c042325'
5656
with:
5757
script: |
58-
const args = ${{ fromJSON(steps.slash_command.outputs.command-arguments) }};
58+
const args = ${{ fromJSON(steps.slash_command.outputs.command-arguments || '{}') }};
5959
github.rest.actions.createWorkflowDispatch({
6060
owner: context.repo.owner,
6161
repo: context.repo.repo,

0 commit comments

Comments
 (0)