logoalt Hacker News

acedTrexyesterday at 3:55 PM2 repliesview on HN

You can already hardcode the sha of a given workflow in the ref, and arguably should do that anyways.


Replies

chippiewillyesterday at 4:05 PM

It doesn't work for transitive dependencies, so you're reliant on third party composite actions doing their own SHA locking.

eddythompson80yesterday at 4:04 PM

You can also configure a policy for it [0] and there are many oss tools for auto converting your workflow into a pinned hash ones. I guess OP is upset it’s not in gh CLI? Maybe a valid feature to have there even if it’s just a nicety

[0] https://github.blog/changelog/2025-08-15-github-actions-poli...