Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Globally pin GitHub Actions actions to commit hashes not tags#3

Merged
AP-Hunt merged 1 commit into
masterfrom
pin_gha_actions_to_hashes
Sep 19, 2025
Merged

Globally pin GitHub Actions actions to commit hashes not tags#3
AP-Hunt merged 1 commit into
masterfrom
pin_gha_actions_to_hashes

Conversation

@AP-Hunt

@AP-Hunt AP-Hunt commented Aug 20, 2025

Copy link
Copy Markdown
Member

We agree that pinning the versions of GitHub Actions actions to a commit hash
instead of a mutable tag is the correct choice.

We have a lot of places where we use them. The changes in this commit were
generated by using a tool called pinact[1] which can convert pinned tags in GHA
workflows to the commit hash they point to at that moment in time.

To generate the change set I ran pinact run from the root of the repository.

[1] https://github.com/suzuki-shunsuke/pinact

We agree that pinning the versions of GitHub Actions actions to a commit hash
instead of a mutable tag is the correct choice.

We have a lot of places where we use them. The changes in this commit were
generated by using a tool called pinact[1] which can convert pinned tags in GHA
workflows to the commit hash they point to at that moment in time.

To generate the change set I ran `pinact run` from the root of the repository.

[1] https://github.com/suzuki-shunsuke/pinact
@AP-Hunt AP-Hunt merged commit e4e7122 into master Sep 19, 2025
4 checks passed
@AP-Hunt AP-Hunt deleted the pin_gha_actions_to_hashes branch September 19, 2025 10:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants