openSUSE / openSUSE-git

3 stars 5 forks source link

pre-commit hooks to handle local source services #47

Open celan opened 1 week ago

celan commented 1 week ago

Provide the equivalent functionality to run source services pre-commit (e.g. source-formatter, validator etc) and enforcing their run prior a new git commit by using pre-commit hooks. For that a tool is needed for users to declare pre-commit hooks locally and a server-side job that ensures pre-commit hooks have been executed prior running of a PR.