From f2b42809bd9ce47837209f3c25f4c66bcf1e5413 Mon Sep 17 00:00:00 2001 From: Guido Wagner Date: Tue, 8 Sep 2026 17:19:26 -0300 Subject: [PATCH] fix: stop the release from masking its own error Issues are disabled on this repo, so @semantic-release/github failed trying to file the failure report, hiding the real npm auth error underneath. Drops the now unused issues permission. --- .github/workflows/publish.yml | 2 -- release.config.js | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 562aae03..a4b56be0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,8 +24,6 @@ jobs: needs: [test] permissions: contents: write - issues: write - pull-requests: write # Lets npm attach build provenance to the published package id-token: write steps: diff --git a/release.config.js b/release.config.js index f0560be6..c1700a03 100644 --- a/release.config.js +++ b/release.config.js @@ -13,6 +13,11 @@ module.exports = { '@semantic-release/github', { assets: 'release/*.tgz', + // Issues are disabled on this repo, so trying to file one on failure only + // buries the real error under a second one + failComment: false, + failTitle: false, + successComment: false, }, ], '@semantic-release/git',