fix(ci): pin tj-actions/changed-files due to compromise (#2874)

Ideally it's be swapped out for an alternative but for now this is to mitigate.
This commit is contained in:
JJGadgets
2025-03-15 14:25:01 +08:00
committed by GitHub
parent 5d9920406c
commit 4da89bd997

View File

@@ -430,7 +430,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- uses: tj-actions/changed-files@v45 - uses: tj-actions/changed-files@9200e69727eb73eb060652b19946b8a2fdfb654b # pin to v45.0.8 due to https://github.com/tj-actions/changed-files/issues/2463 https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised
id: changed-files id: changed-files
with: with:
json: true json: true