Commit 1de8a78
committed
Pass workflow dispatch inputs as strings
Even if it is tempting to pass `false` as a Boolean value, this is
incorrect. It will result in something like this:
{
statusCode: 422,
statusMessage: 'Unprocessable Entity',
requestMethod: 'POST',
requestPath: '/repos/git-for-windows/git-for-windows-automation/actions/workflows/tag-git.yml/dispatches',
json: {
message: "Invalid request.\n\nFor 'additionalProperties', false is not a string.",
documentation_url: 'https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event'
}
}
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent bc586a4 commit 1de8a78
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
0 commit comments