Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 1008199

Browse files
committed
ci: fix RCE vulnerability in file overwrite
vuejs/core#10985 Special thanks to @redyetidev
1 parent 4e13a57 commit 1008199

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/size-report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ jobs:
4040
with:
4141
name: pr-number
4242
run_id: ${{ github.event.workflow_run.id }}
43+
path: /tmp/pr-number
4344

4445
- name: Read PR Number
4546
id: pr-number
4647
uses: juliangruber/read-file-action@v1
4748
with:
48-
path: ./pr.txt
49+
path: /tmp/pr-number/pr.txt
4950

5051
- name: Download Size Data
5152
uses: dawidd6/action-download-artifact@v3

0 commit comments

Comments
 (0)