davidism / gha-update

Update GitHub Actions version pins in GitHub workflow files.
https://gha-update.readthedocs.io
MIT License
26 stars 2 forks source link

provide a pre-commit hook #5

Closed badrobit closed 2 months ago

badrobit commented 3 months ago

It would be amazing if we could add this as part of our pre-commit tool chain to always ensure our actions are up-to-date before anything is committed to GitHub.

davidism commented 2 months ago

This is not something that should run in pre-commit. First, it would make network calls on every commit. Second, the entire premise of the tool is to be something that is run manually (or close to manually), and I don't feel that "run every commit" matches that goal.