GeezerVison is showing github.com — chore(ci): explicitly disable setup-node cache in release and supply-chain workflows (AI-assisted) by slorber · Pull Request #12479 · meta/docusaurus
Conversation
slorber
commented
Sep 24, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Pre-flight checklist
- I have read the Contributing Guidelines on pull requests.
- If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
- If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.
Motivation
Audit of our actions/setup-node caching against v7.0.0 and its cache poisoning recommendations (actions/setup-node#1567).
Current state is safe: no pull_request_target / workflow_run / issue_comment triggers, PR caches are scoped to their PR ref, and release workflows (publish.yml, continuous-releases.yml) don't restore any cache. setup-node auto-caching only triggers for npm (we use pnpm), and pnpm/action-setup caching is off by default.
This PR adds an explicit package-manager-cache: false to the no-cache workflows (publish, continuous releases, supply chain security) as defense-in-depth, so caching can't silently turn on if auto-detection behavior or our package manager changes.
(AI-assisted)
Test Plan
CI
Test links
Deploy preview: https://deploy-preview-12479--docusaurus-2.netlify.app/
Related issues/PRs
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…chain workflows (AI-assisted)
Follows actions/setup-node v7 guidance (actions/setup-node#1567) to set
`package-manager-cache: false` in privileged workflows to mitigate cache poisoning.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
⚡️ Lighthouse report for the deploy preview of this PR
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
Josh-Cena
Awaiting requested review from Josh-Cena
Josh-Cena is a code owner
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
CLA Signed
Signed Facebook CLA
pr: ignore
This PR is not meaningful enough to appear in the changelog.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.