Skip to content

Commit d0134c8

Browse files
authored
chore: pin cache action (#290)
This pins the cache action in the composite action code. Pins to https://github.com/actions/setup-node/releases/tag/v4.4.0 This allows people to enforce the new GitHub policy to only use pinned GitHub Actions. (This requirement is transitive)
1 parent ae1d1cd commit d0134c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ runs:
172172
173173
- name: Setup node
174174
if: runner.os == 'macOS' || runner.os == 'Windows'
175-
uses: actions/setup-node@v4
175+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
176176
with:
177177
# setup-node doesn't allow absolute paths, so we can't
178178
# just use `github.action_path` to read this out from the `package.json`
@@ -217,7 +217,7 @@ runs:
217217
# Restore the original Node version
218218
- name: Restore original Node version
219219
if: (runner.os == 'macOS' || runner.os == 'Windows') && steps.node_version.outputs.NODE_VERSION != ''
220-
uses: actions/setup-node@v4
220+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
221221
with:
222222
node-version: ${{ steps.node_version.outputs.NODE_VERSION }}
223223

0 commit comments

Comments
 (0)