I always use commit hashes for action versions. Dependabot handles it, it’s a no brainer.
There is some latent concern that most git installations use SHA-1 hashes, as opposed to SHA-256. [0]
Also the trick of creating a branch that happens to be named the same as a revision, which then takes precedence for certain commands.
TIL; yikes! (and thanks)
[0]https://git-scm.com/book/ms/v2/Git-Tools-Signing-Your-Work