Skip to content

Hash pin GitHub Actions#467

Open
hugovk wants to merge 1 commit intopython:mainfrom
hugovk:hash-pin-gha
Open

Hash pin GitHub Actions#467
hugovk wants to merge 1 commit intopython:mainfrom
hugovk:hash-pin-gha

Conversation

@hugovk
Copy link
Copy Markdown
Member

@hugovk hugovk commented Apr 24, 2026

Yet another compromise via unpinned GitHub Actions: https://socket.dev/blog/bitwarden-cli-compromised

Let's hash-pin GHA for our PyPI packages.

Done via uvx gha-update.

@maurycy
Copy link
Copy Markdown
Contributor

maurycy commented Apr 24, 2026

@hugovk

  • Does it effectively disable Dependabot?
  • What would be the process for rerunning uvx gha-update?

The same would apply to psf/pyperf#237 I think

@hugovk
Copy link
Copy Markdown
Member Author

hugovk commented Apr 24, 2026

  • Does it effectively disable Dependabot?

No, Dependabot will still run and update to the next available SHA, and also update the version in the comment.

  • What would be the process for rerunning uvx gha-update?

Just leave it to Dependabot. The cooldown means it waits that long before an update is suggested. Security updates will still come through immediately without needing to wait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants