Skip to content

Commit da70402

Browse files
authored
fix(ci): supply-chain sec: disable caching in release-related workflow (#6790)
1 parent 002267b commit da70402

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-to-npm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
# Require npm 11.5.1 or later for https://docs.npmjs.com/trusted-publishers.
2323
node-version: 24
2424
registry-url: 'https://registry.npmjs.org'
25+
# Disable caching in release workflows (https://docs.zizmor.sh/audits/#cache-poisoning).
26+
package-manager-cache: false
2527
- run: npm ci --ignore-scripts
2628
- run: npm run compile
2729
# Release Please has already incremented versions and published tags, so we just

0 commit comments

Comments
 (0)