semantic-release/github

release failure issue failing to be opened

Open

#1,065 opened on Jul 11, 2025

View on GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (146 forks)github user discovery
Good first issuebughelp wanted

Repository metrics

Stars
 (516 stars)
PR merge metrics
 (PR metrics pending)

Description

While working through semantic-release/npm#958, i had several situations where my configuration was not yet working, so semantic-release attempted to open the issue in the repo to report the release failure. an example failure can be found in https://github.com/travi-test/npm-oidc-test/actions/runs/16186374845/job/45692725649#step:5:106

it appears that the way we are creating the issue is failing some sort of validation of labels on the github api side. unfortunately, the error gets collapsed to prevent the error from being obvious, so i havent dug deeper to understand the issue further: https://github.com/travi-test/npm-oidc-test/actions/runs/16186374845/job/45692725649#step:5:188

the issue gets created with octokit.request and i dont see anything obvious when comparing to the rest api doc: https://github.com/semantic-release/github/blob/ecde3a8a58a7cda1ddb8d405d049f56d223afe23/lib/fail.js#L100

Contributor guide