Skip to content

Commit

Permalink
ignore eslint error on workflowName function
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Oct 25, 2023
1 parent b3f00b1 commit b73fed0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export async function workflowName(
workflow?: string | undefined
): Promise<string> {
if (workflow === undefined) {
workflow = github.context.workflow
// ignore eslint
workflow = github.context.workflow // eslint-disable-line
}
return workflow.replace(/\W/g, '-').replace(/^-/, '')
}
Expand Down

0 comments on commit b73fed0

Please sign in to comment.