[Bug] Error: Variable $owner of type String! was provided invalid value
released
<!-- added by https://github.com/apps/hearts --><a href='https://hearts.dev/projects/3/users/BinToss'><img width='50' alt='' align='right' src='https://hearts.dev/projects/3/users/BinToss/tally.svg'></a>
Step `fail` passes removed `failTitle` argument to `findSRIssues`, causing arguments to be off-by-one.
https://github.com/semantic-release/github/blob/ea6386d6e6c38979ef9ca38bbb06b64d8ba4efdf/lib/find-sr-issues.js#L4
https://github.com/semantic-release/github/blob/ea6386d6e6c38979ef9ca38bbb06b64d8ba4efdf/lib/fail.js#L59-L66
<img width="326" height="162" alt="Image" src="https://github.com/user-attachments/assets/46041a05-b418-4197-9263-3eeaa51ac6a4" />
---
```pwsh
[9:40:38 AM] [semantic-release] › ✘ Failed step "fail" of plugin "@semantic-release/github"
...
[9:40:39 AM] [semantic-release] › ✘ An error occurred while running semantic-release: Error: Variable $owner of type String! was provided invalid value
at file:///home/runner/work/HCE.Shared/HCE.Shared/node_modules/semantic-release/node_modules/aggregate-error/index.js:23:26
at Array.map (<anonymous>)
at new AggregateError (file:///home/runner/work/HCE.Shared/HCE.Shared/node_modules/semantic-release/node_modules/aggregate-error/index.js:16:19)
at file:///home/runner/work/HCE.Shared/HCE.Shared/node_modules/semantic-release/lib/plugins/pipeline.js:55:13
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async pluginsConfigAccumulator.<computed> [as fail] (file:///home/runner/work/HCE.Shared/HCE.Shared/node_modules/semantic-release/lib/plugins/index.js:87:11)
at async callFail (file:///home/runner/work/HCE.Shared/HCE.Shared/node_modules/semantic-release/index.js:252:7)
at async Module.default (file:///home/runner/work/HCE.Shared/HCE.Shared/node_modules/semantic-release/index.js:282:7)
at async default (file:///home/runner/work/HCE.Shared/HCE.Shared/node_modules/semantic-release/cli.js:55:5) {
extensions: { value: [ 'semantic-release' ], problems: [ [Object] ] },
locations: [ { line: 2, column: 21 } ],
pluginName: '@semantic-release/github'
}
```
关闭于 2026-02-06 1 条评论