GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@slorber slorber commented Sep 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

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

  • docs: Update caching recommendations to mitigate cache poisoning risks actions/setup-node#1567
  • Trusted Publisher documentation actions/setup-node#1445 (comment)

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@slorber @claude
chore(ci): explicitly disable setup-node cache in release and supply-…
96a71fc
…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]>
@slorber
slorber requested a review from Josh-Cena as a code owner September 24, 2026 10:13
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Sep 24, 2026
@netlify

netlify Bot commented Sep 24, 2026

Copy link
Copy Markdown

✅ [V2]

Name Link
🔨 Latest commit 96a71fc
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6ab4f7bc70e510000802d2bc
😎 Deploy Preview https://deploy-preview-12479--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@slorber slorber added the pr: ignore This PR is not meaningful enough to appear in the changelog. label Sep 24, 2026
@github-actions

github-actions Bot commented Sep 24, 2026

Copy link
Copy Markdown

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 58 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 56 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 69 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 66 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 66 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 68 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 66 🟢 100 🟢 100 🟠 86 Report
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@slorber
slorber merged commit be0589c into main Sep 24, 2026
18 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@slorber
slorber deleted the claude/github-actions-node-cache-security-eb54a8 branch September 24, 2026 10:17
@slorber slorber mentioned this pull request Oct 15, 2026
chore(ci): deny GitHub Actions cache access to privileged jobs with cache-mode: none (AI-assisted) #12658
Merged
1 of 3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Josh-Cena 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.

Projects

None yet

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.

1 participant

@slorber
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.