Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn committed Jan 31, 2024
1 parent 12ee09d commit a2af642
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/commit-status/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a2af642

Please sign in to comment.