Y
Hacker News
new
|
ask
|
show
|
jobs
by
evntdrvn
455 days ago
it is documented as recommended here fwiw:
https://docs.github.com/en/actions/security-for-github-actio...
2 comments
sundarurfriend
455 days ago
And the syntax to do that is to use `foo/bar@commitshagoeshere` as in
- uses: RafaelGSS/bad-action@e20fd1d81b3f403df56f5f06e2aa9653a6a60763 # v1.0.1
(example from
https://blog.rafaelgss.dev/why-you-should-pin-actions-by-com...
)
link
0rzech
455 days ago
This. Using tags is acceptable only for official GitHub actions, anything else should be pinned.
link