Fix "Publish to npm" CI failure: wire GITLEAKS_LICENSE and document missing NPM_TOKEN - #14
Merged
Merged
Conversation
Co-authored-by: VrilLabs <271641621+VrilLabs@users.noreply.github.com>
Copilot
AI
changed the title
Fix failing "Publish to npm" GitHub Actions job
Fix "Publish to npm" CI failure: wire GITLEAKS_LICENSE and document missing NPM_TOKEN
Aug 15, 2026
Copilot created this pull request from a session on behalf of
VrilLabs
August 15, 2026 05:45
View session
Collaborator
|
NPM_TOKEN changed to NPM_REGISTRY_TOKEN |
There was a problem hiding this comment.
Pull request overview
Updates the CI workflow to unblock the security-scan job by providing the required gitleaks license key via Actions secrets, aligning with the org requirement for licensed gitleaks runs.
Changes:
- Wires
GITLEAKS_LICENSEin.github/workflows/ci.ymlto theGITLEAKS_KEYsecret for the gitleaks action.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
VrilLabs
marked this pull request as ready for review
August 15, 2026 05:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Publish to npm" job fails with
ENEEDAUTHbecauseNODE_AUTH_TOKENresolves to empty, and thesecurity-scanjob fails because the gitleaks action runs without a license key (required for org repos).Changes
ci.yml— WireGITLEAKS_LICENSEto the newly addedGITLEAKS_KEYorg secret:Manual action required
The
npm-publish.ymlworkflow is correctly configured — it referencessecrets.NPM_TOKENasNODE_AUTH_TOKEN. The secret itself is missing from the repo/org. Add an npm automation token asNPM_TOKENunder Settings → Secrets and variables → Actions to unblock publishing.