Skip to content

Hash pin GitHub Actions#467

Merged
hugovk merged 1 commit intopython:mainfrom
hugovk:hash-pin-gha
Apr 24, 2026
Merged

Hash pin GitHub Actions#467
hugovk merged 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.

@hugovk hugovk merged commit b5dfaee into python:main Apr 24, 2026
19 checks passed
@hugovk hugovk deleted the hash-pin-gha branch April 24, 2026 16:09
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