Skip to content

fix(ci): service-auth-publish install-check 401 (missing GITHUB_TOKEN) - #879

Merged
izzywdev merged 1 commit into
masterfrom
fix/service-auth-publish-verify-token
Aug 31, 2026
Merged

fix(ci): service-auth-publish install-check 401 (missing GITHUB_TOKEN)#879
izzywdev merged 1 commit into
masterfrom
fix/service-auth-publish-verify-token

Conversation

@izzywdev

Copy link
Copy Markdown
Owner

Summary

  • The first run of service-auth-publish.yml (triggered by tag service-auth-v0.1.0) succeeded through the actual Publish step — confirmed via gh api users/izzywdev/packages/npm/fuzefront-service-auth/versions showing 0.1.0 now live in the registry.
  • Its final self-check step, "Verify it is actually installable", 401'd because it only set NODE_AUTH_TOKEN, not GITHUB_TOKEN — the exact failure mode the neighboring Publish step's own comment already documents (the project-level .npmrc references ${GITHUB_TOKEN}, which outranks the NODE_AUTH_TOKEN-only .npmrc setup-node writes).
  • Adds GITHUB_TOKEN alongside NODE_AUTH_TOKEN in that step's env.

Test plan

  • actionlint clean
  • The package is independently confirmed published regardless of this step's outcome (registry query above)
  • Re-run of service-auth-publish.yml (via workflow_dispatch, since 0.1.0 is already published and idempotent) to confirm the verify step now passes — pending merge

🤖 Generated with Claude Code

…ghbor documented

The real publish succeeded on the first run (confirmed:
@izzywdev/fuzefront-service-auth@0.1.0 now in the registry via
`gh api users/izzywdev/packages/npm/fuzefront-service-auth/versions`), but the
"Verify it is actually installable" step 401'd -- it only set NODE_AUTH_TOKEN,
missing the GITHUB_TOKEN the project-level .npmrc actually reads (the exact
failure mode the Publish step's own adjacent comment already documents).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session-Id: fe3aa738-cb24-4315-a29b-29834ddea892
@github-actions
github-actions Bot enabled auto-merge (squash) August 31, 2026 21:16
@izzywdev
izzywdev merged commit 86c3c6e into master Aug 31, 2026
48 checks passed
@izzywdev
izzywdev deleted the fix/service-auth-publish-verify-token branch August 31, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant