semantic-release/github

release failure issue failing to be opened

Open

#1065 aperta il 11 lug 2025

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)JavaScript (146 fork)github user discovery
Good first issuebughelp wanted

Metriche repository

Star
 (516 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor