datasciencecampus / coding-in-the-open

A compendium of open-source guidance which aims to share the benefits, risks and a summarised strategy for open-source coding.
https://datasciencecampus.github.io/coding-in-the-open/
MIT License
8 stars 0 forks source link

Explore use of pre-receive hooks (vs pre-commit hooks) #65

Open TSGreen opened 11 months ago

TSGreen commented 11 months ago

Due to the short-comings of pre-commit hooks, namely that a local user is not forced to use it even when present, and that pre-commit hooks can be bypassed by a user, there was discussion around whether hooks that reject incoming pushes that fail certain checks would be more appropriate.

TSGreen commented 11 months ago