diff --git a/lib/fail.js b/lib/fail.js index b5b43a3f..2afe1e25 100644 --- a/lib/fail.js +++ b/lib/fail.js @@ -56,14 +56,7 @@ export default async function fail(pluginConfig, context, { Octokit }) { const body = failComment ? template(failComment)({ branch, errors }) : getFailComment(branch, errors); - const [srIssue] = await findSRIssues( - octokit, - logger, - failTitle, - labels, - owner, - repo, - ); + const [srIssue] = await findSRIssues(octokit, logger, labels, owner, repo); const canCommentOnOrCreateIssue = failCommentCondition ? template(failCommentCondition)({ ...context, issue: srIssue })