Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin DeterminateSystems/nix-installer-action to SHA #32

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

wadells
Copy link
Contributor

@wadells wadells commented Feb 5, 2024

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.

@@ -127,7 +127,7 @@ runs:

- name: Install nix
if: inputs.skip-nix-installation == 'false'
uses: DeterminateSystems/nix-installer-action@v4
uses: DeterminateSystems/nix-installer-action@65d7c888b2778e8cf30a07a88422ccb23499bfb8 # v4
Copy link
Contributor Author

@wadells wadells Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependabot is smart enough to automatically update # vX comments, so this won't fall out of date. See dependabot/dependabot-core#5951

65d7c888b2778e8cf30a07a88422ccb23499bfb8 is the SHA that the v4 tag points at:

https://github.com/DeterminateSystems/nix-installer-action/releases/tag/v4

@LucilleH LucilleH added this pull request to the merge queue Feb 6, 2024
Merged via the queue into jetify-com:main with commit a156336 Feb 6, 2024
6 checks passed
@wadells
Copy link
Contributor Author

wadells commented Feb 6, 2024

Thank you @LucilleH. 🙏

nieomylnieja pushed a commit to nieomylnieja/go-libyear that referenced this pull request May 18, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[jetpack-io/devbox-install-action](https://github.com/jetpack-io/devbox-install-action)
| action | minor | `v0.8.0` -> `v0.11.0` |

---

### Release Notes

<details>
<summary>jetpack-io/devbox-install-action
(jetpack-io/devbox-install-action)</summary>

###
[`v0.11.0`](https://github.com/jetify-com/devbox-install-action/releases/tag/v0.11.0)

[Compare
Source](https://github.com/jetpack-io/devbox-install-action/compare/v0.10.0...v0.11.0)

##### What's Changed

- \[macos] Fix latest macos by
[@&#8203;mikeland73](https://github.com/mikeland73) in
[jetify-com/devbox-install-action#47

**Full Changelog**:
jetify-com/devbox-install-action@v0.10.0...v0.11.0

###
[`v0.10.0`](https://github.com/jetify-com/devbox-install-action/releases/tag/v0.10.0)

[Compare
Source](https://github.com/jetpack-io/devbox-install-action/compare/v0.9.0...v0.10.0)

##### What's Changed

- rebrand changes by [@&#8203;mohsenari](https://github.com/mohsenari)
in
[jetify-com/devbox-install-action#42
- Update README with more up-to-date versions by
[@&#8203;loreto](https://github.com/loreto) in
[jetify-com/devbox-install-action#44
- \[detsys] Bump detsys installer by
[@&#8203;mikeland73](https://github.com/mikeland73) in
[jetify-com/devbox-install-action#46

##### New Contributors

- [@&#8203;mohsenari](https://github.com/mohsenari) made their first
contribution in
[jetify-com/devbox-install-action#42
- [@&#8203;loreto](https://github.com/loreto) made their first
contribution in
[jetify-com/devbox-install-action#44

**Full Changelog**:
jetify-com/devbox-install-action@v0.9.0...v0.10.0

###
[`v0.9.0`](https://github.com/jetify-com/devbox-install-action/releases/tag/v0.9.0)

[Compare
Source](https://github.com/jetpack-io/devbox-install-action/compare/v0.8.0...v0.9.0)

Re-release the Devbox GitHub Action under the new company name
(jetify-com instead of jetpack-io)

##### What's Changed

- Pin DeterminateSystems/nix-installer-action to SHA by
[@&#8203;wadells](https://github.com/wadells) in
[jetify-com/devbox-install-action#32
- Add Dependabot config for GitHub Actions by
[@&#8203;wadells](https://github.com/wadells) in
[jetify-com/devbox-install-action#31
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://github.com/dependabot) in
[jetify-com/devbox-install-action#33
- Bump DeterminateSystems/nix-installer-action from 4 to 9 by
[@&#8203;dependabot](https://github.com/dependabot) in
[jetify-com/devbox-install-action#34
- upgrade devbox cli test to use version 0.9.1 by
[@&#8203;LucilleH](https://github.com/LucilleH) in
[jetify-com/devbox-install-action#37
- fix: use architecture as part of cache key by
[@&#8203;abbudao](https://github.com/abbudao) in
[jetify-com/devbox-install-action#36

##### New Contributors

- [@&#8203;wadells](https://github.com/wadells) made their first
contribution in
[jetify-com/devbox-install-action#32
- [@&#8203;dependabot](https://github.com/dependabot) made their first
contribution in
[jetify-com/devbox-install-action#33
- [@&#8203;abbudao](https://github.com/abbudao) made their first
contribution in
[jetify-com/devbox-install-action#36

**Full Changelog**:
jetify-com/devbox-install-action@v0.8.0...v0.9.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am
every weekday,every weekend" (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/nieomylnieja/go-libyear).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants