From f4cb99dcf6125289fb48fc6dd7cb234c75b792e6 Mon Sep 17 00:00:00 2001 From: Pavel Fadeev Date: Fri, 18 Sep 2026 00:44:34 +0200 Subject: [PATCH] ci: drop the stage list call that cannot authenticate in CI Listing staged packages needs a user token; under OIDC it returns E401 and only adds a red line to every release. npm stage publish already prints the stage id. --- .github/workflows/npm-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 30e0036..da2a2d3 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -56,15 +56,15 @@ jobs: - name: Report what to approve run: | VERSION="$(node -p "require('./package.json').version")" - npm stage list @fiale-plus/jev-cli || true { echo "### Staged @fiale-plus/jev-cli@$VERSION" echo - echo "Approve with 2FA to move it to prod:" + echo "The stage id is in the output of the step above. Approve with 2FA to move it to prod:" echo echo '```' echo "npm stage approve " echo '```' echo - echo "Or use the Staged Packages tab on npmjs.com." + echo "Or use the Staged Packages tab on npmjs.com. Listing staged packages needs a" + echo "user token, so this workflow cannot print the list itself." } >> "$GITHUB_STEP_SUMMARY"