File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 28
28
with :
29
29
node-version : lts/*
30
30
registry-url : https://registry.npmjs.org/
31
- cache : " pnpm"
31
+ # disable cache, to avoid cache poisoning (https://docs.zizmor.sh/audits/#cache-poisoning)
32
+
33
+ - name : Disallow installation scripts
34
+ run : yq '.onlyBuiltDependencies = []' -i pnpm-workspace.yaml
32
35
33
36
- name : Install deps
34
37
run : pnpm install
Original file line number Diff line number Diff line change 17
17
- uses : actions/setup-node@v4
18
18
with :
19
19
node-version : lts/*
20
- cache : pnpm
20
+ # disable cache, to avoid cache poisoning (https://docs.zizmor.sh/audits/#cache-poisoning)
21
+
22
+ - name : Disallow installation scripts
23
+ run : yq '.onlyBuiltDependencies = []' -i pnpm-workspace.yaml
21
24
22
25
- name : Install dependencies
23
26
run : pnpm install
Original file line number Diff line number Diff line change 34
34
35
35
- name : Create Release for Tag
36
36
id : release_tag
37
- uses : yyx990803/release-tag@master
37
+ uses : yyx990803/release-tag@8cccf7c5aa332d71d222df46677f70f77a8d2dc0 # v1.0.0
38
38
env :
39
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
40
with :
You can’t perform that action at this time.
0 commit comments