We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c44fb commit c401cdbCopy full SHA for c401cdb
src/main.ts
@@ -34,7 +34,7 @@ async function run(): Promise<void> {
34
// Locate workflow by name as we need it's id
35
const foundWorkflow = listResp.data.workflows.find((wf: Record<string, string>) => {
36
// Match on name or id
37
- return (wf['name'] === workflowReference || wf['id'] === workflowReference)
+ return (wf['name'] === workflowReference || wf['id'].toString() === workflowReference)
38
})
39
if(!foundWorkflow) throw new Error(`Unable to find workflow '${workflowReference}' in ${repo} 😥`)
40
0 commit comments