Skip to content

Commit 60acf5c

Browse files
committed
cascading-runs: pass workflow run ID as string
The GitHub REST API is pretty strict about workflow_dispatch inputs being passed as string, not as a number or a Boolean. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 15aadcc commit 60acf5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GitForWindowsHelper/cascading-runs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const triggerGitArtifactsRuns = async (context, checkRunOwner, checkRunRepo, tag
9292
'git-artifacts.yml',
9393
'main', {
9494
architecture,
95-
tag_git_workflow_run_id: workflowRunId
95+
tag_git_workflow_run_id: workflowRunId.toString()
9696
}
9797
)
9898
res = `${res}The \`git-artifacts-${architecture}\` workflow run [was started](${run.html_url}).\n`

0 commit comments

Comments
 (0)