Skip to content

Commit

Permalink
cascading-runs: pass workflow run ID as string
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dscho committed Mar 7, 2023
1 parent 15aadcc commit 60acf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitForWindowsHelper/cascading-runs.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const triggerGitArtifactsRuns = async (context, checkRunOwner, checkRunRepo, tag
'git-artifacts.yml',
'main', {
architecture,
tag_git_workflow_run_id: workflowRunId
tag_git_workflow_run_id: workflowRunId.toString()
}
)
res = `${res}The \`git-artifacts-${architecture}\` workflow run [was started](${run.html_url}).\n`
Expand Down

0 comments on commit 60acf5c

Please sign in to comment.