Skip to content

Commit a156336

Browse files
authored
Pin DeterminateSystems/nix-installer-action to SHA (#32)
GitHub recommends pinning 3rd party actions for security and reproducibility. This should be a familiar idea for folks who've worked with Nix. 😄 https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions For now, I've excluded dependencies from `actions/` as these are "2nd party" actions, developed and published by GitHub. We have higher trust that GitHub published actions won't spuriously force push tag values, resulting in non deterministic runtime behavior. If you'd like to pin all dependencies, let me know and I'll update this to include everything. This will result in a higher sustaining burden, as Dependabot (#31) will generate many more updates for pinned `actions/` actions.
1 parent 4a7f1d5 commit a156336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ runs:
127127
128128
- name: Install nix
129129
if: inputs.skip-nix-installation == 'false'
130-
uses: DeterminateSystems/nix-installer-action@v4
130+
uses: DeterminateSystems/nix-installer-action@65d7c888b2778e8cf30a07a88422ccb23499bfb8 # v4
131131
with:
132132
logger: pretty
133133
extra-conf: experimental-features = ca-derivations fetch-closure

0 commit comments

Comments
 (0)