diff --git a/src/api.spec.ts b/src/api.spec.ts index 7787f199..3ab92657 100644 --- a/src/api.spec.ts +++ b/src/api.spec.ts @@ -130,7 +130,7 @@ describe("API", () => { "Successfully dispatched workflow: Repository: owner/repo Branch: ref - Workflow ID: workflow + Workflow: workflow Workflow Inputs: {"testInput":"test"} Distinct ID: " `); @@ -189,7 +189,7 @@ describe("API", () => { "Successfully dispatched workflow: Repository: owner/repo Branch: ref - Workflow ID: workflow + Workflow: workflow Workflow Inputs: {"testInput":"test"} Distinct ID: 50b4f5fa-f9ce-4661-80e6-6d660a4a3a0d" `, diff --git a/src/api.ts b/src/api.ts index df14fa90..55591e2b 100644 --- a/src/api.ts +++ b/src/api.ts @@ -39,7 +39,7 @@ export async function dispatchWorkflow(distinctId: string): Promise { "Successfully dispatched workflow:\n" + ` Repository: ${config.owner}/${config.repo}\n` + ` Branch: ${config.ref}\n` + - ` Workflow ID: ${config.workflow}\n` + + ` Workflow: ${config.workflow}\n` + (config.workflowInputs ? ` Workflow Inputs: ${JSON.stringify(config.workflowInputs)}\n` : ``) +