Skip to content

Commit d69f26f

Browse files
authored
pin third-party actions (#212)
1 parent 2fb48ea commit d69f26f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/nix.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: nix-build (${{ matrix.os }})
1919
steps:
2020
- uses: actions/checkout@v3
21-
- uses: cachix/install-nix-action@v22
21+
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # SECURITY: pin third-party action hashes
2222
with:
2323
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2424
- run: nix build

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- uses: actions/checkout@v4
105105
with:
106106
submodules: recursive
107-
- uses: swatinem/rust-cache@v2
107+
- uses: swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # SECURITY: pin third-party action hashes
108108
- name: Install cargo-dist
109109
run: ${{ matrix.install_dist }}
110110
- name: Add aarch64 target
@@ -259,7 +259,7 @@ jobs:
259259
# Remove the granular manifests
260260
rm -f artifacts/*-dist-manifest.json
261261
- name: Create Github Release
262-
uses: ncipollo/release-action@v1
262+
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # SECURITY: pin third-party action hashes
263263
with:
264264
tag: ${{ needs.plan.outputs.tag }}
265265
name: ${{ fromJson(needs.host.outputs.val).announcement_title }}

0 commit comments

Comments
 (0)