From a2af6425c0f961a28f694bc62981d58451cde089 Mon Sep 17 00:00:00 2001 From: pngwn Date: Wed, 31 Jan 2024 21:39:12 +0000 Subject: [PATCH] fix --- packages/commit-status/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/commit-status/index.ts b/packages/commit-status/index.ts index b299784..158d433 100644 --- a/packages/commit-status/index.ts +++ b/packages/commit-status/index.ts @@ -32,7 +32,8 @@ async function run() { }); const octokit = getOctokit(token); - let _workflow_name = name || context.workflow || "Unknown Workflow"; + let _workflow_name = + (name === "false" ? false : name) || context.workflow || "Unknown Workflow"; const workflow_run = await octokit.rest.actions.getWorkflowRun({ owner: context.repo.owner,