Repository navigation
CI: don't persist checkout credentials; note about npm publishing - #2702
Merged
chalin merged 7 commits intoAug 8, 2026
Merged
Conversation
- Adds `persist-credentials: false` to both workflows' checkout steps so the built-in token never reaches dependency-controlled steps via .git config
…t rewordings - Recovers post-docsy#2700 stash: interim login-publish-logout guidance ahead of trusted publishing, plus netlify.toml comment clarifications
chalin
marked this pull request as ready for review
August 8, 2026 16:21
- Qualifies the login-publish-logout bullet as pre-trusted-publishing guidance, so it self-retires when OIDC publishing lands (review feedback)
- Adds the trusted-publishing URL to .lycheecache (single genuine lychee 0.24.2 probe, renormalized), un-redding the Linux test job's pristine-tree guard - Logout applies on failed publishes too, with account-settings revocation as the fallback (adversarial-review findings)
chalin
added a commit
to chalin/docsy
that referenced
this pull request
Aug 12, 2026
Prove from the committed manifests, locks, .npmrc, and workflows alone that the hardening invariants (docsy#2700, docsy#2702, docsy#2712) still hold: registry + integrity coverage, non-registry allowlist, campaign IOC denylist, install-script inventory with a lock-matching allowScripts pin, locked script-free install commands, and credential-isolated workflow installs. Wired into test:full via _test:full:post.
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.
persist-credentials: falseto both workflows' checkout steps, so the built-in token is no longer persisted into the checkout's.gitconfig where dependency-controlled steps could read itcontents: read; no token is directly passed to anyrunstep (pinnedactions/setup-nodestill takes the defaultgithub.tokenfor its version-manifest lookup)npm loginright before publishing,npm logoutright after even on a failed publish, manual token revocation as the fallback)