Describe the bug
Semantic release is looking at closed PRs as issue numbers. Here is a sample of an aggregated output error (the three reported in the GitHub Workflow action are all closed dependabot PRs (not issues?):
[5:27:38 PM] [semantic-release] › ✘ An error occurred while running semantic-release: Error: Could not resolve to an Issue with the number of 237.
at file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v4/node_modules/semantic-release/node_modules/aggregate-error/index.js:23:26
at Array.map (<anonymous>)
at new AggregateError (file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v4/node_modules/semantic-release/node_modules/aggregate-error/index.js:16:19)
at file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v4/node_modules/semantic-release/lib/plugins/pipeline.js:55:13
at async pluginsConfigAccumulator.<computed> [as success] (file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v4/node_modules/semantic-release/lib/plugins/index.js:87:11)
at async run (file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v4/node_modules/semantic-release/index.js:218:3)
at async Module.default (file:///home/runner/work/_actions/cycjimmy/semantic-release-action/v4/node_modules/semantic-release/index.js:278:22)
at async release (/home/runner/work/_actions/cycjimmy/semantic-release-action/v4/src/index.js:36:18) {
type: 'NOT_FOUND',
path: [ 'repository', 'issue237' ],
locations: [ { line: 204, column: 14 } ],
pluginName: '@semantic-release/github'
}
Workflow
If applicable, provide a workflow file to help explain your problem.
Workflow:
https://github.com/todogroup/repolinter/blob/063fd3578ffd6ce4d95580adb1368a7e25075fc1/.github/workflows/ci.yaml#L107-L116
Run:
https://github.com/todogroup/repolinter/actions/runs/14934299001/job/41958118740
Expected behavior
A clear and concise description of what you expected to happen.
Gracefully skip or do not include closed PRs as unable to find Issues.
Additional context
Add any other context about the problem here.
This is throwing the error:
https://github.com/semantic-release/semantic-release/blob/master/lib/plugins/pipeline.js
Describe the bug
Semantic release is looking at closed PRs as issue numbers. Here is a sample of an aggregated output error (the three reported in the GitHub Workflow action are all closed
dependabotPRs (not issues?):Workflow
If applicable, provide a workflow file to help explain your problem.
Workflow:
https://github.com/todogroup/repolinter/blob/063fd3578ffd6ce4d95580adb1368a7e25075fc1/.github/workflows/ci.yaml#L107-L116
Run:
https://github.com/todogroup/repolinter/actions/runs/14934299001/job/41958118740
Expected behavior
A clear and concise description of what you expected to happen.
Gracefully skip or do not include closed PRs as unable to find Issues.
Additional context
Add any other context about the problem here.
This is throwing the error:
https://github.com/semantic-release/semantic-release/blob/master/lib/plugins/pipeline.js