From 7c523c3fa3aa00540292c765287c57dd46da9238 Mon Sep 17 00:00:00 2001 From: Noah Sherwin Date: Fri, 6 Feb 2026 02:37:16 -0800 Subject: [PATCH 1/2] fix: remove `failTitle` arg in `findSRIssues` call This extraneous argument caused "Error: Variable $owner of type String! was provided invalid value" Fixes https://github.com/semantic-release/github/issues/1163 --- lib/fail.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fail.js b/lib/fail.js index b5b43a3f..91b147d4 100644 --- a/lib/fail.js +++ b/lib/fail.js @@ -59,7 +59,6 @@ export default async function fail(pluginConfig, context, { Octokit }) { const [srIssue] = await findSRIssues( octokit, logger, - failTitle, labels, owner, repo, From 3d0e160100ae584873a6e6e215d4fcd4a7d46a27 Mon Sep 17 00:00:00 2001 From: Noah R Sherwin Date: Fri, 6 Feb 2026 13:45:34 -0800 Subject: [PATCH 2/2] style: un-line-wrap shortened call --- lib/fail.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/fail.js b/lib/fail.js index 91b147d4..2afe1e25 100644 --- a/lib/fail.js +++ b/lib/fail.js @@ -56,13 +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, - labels, - owner, - repo, - ); + const [srIssue] = await findSRIssues(octokit, logger, labels, owner, repo); const canCommentOnOrCreateIssue = failCommentCondition ? template(failCommentCondition)({ ...context, issue: srIssue })