|
|
|
|
|
by onnimonni
462 days ago
|
|
I wasn't aware of the already existing SHA-1 collision support created by Github. It's very interesting read and AFAIK it seems that using SHA-1 collisions is not possible: https://github.blog/news-insights/company-news/sha-1-collisi... Is anyone aware of a git hook I could use to analyse my .github/workflows/*.yml files and replace git tags like "v4" with the current git commit hashes? I think this would make it much safer to use 3rd party GitHub Actions. |
|
Anyway here's the gist of a solution without any of the necessary checking that the files actually exist etc.