Luigit
repositories / bugabinga.net

bugabinga.net

personal infrastructure for bugabinga!

owned by admin

setup for git hooks

90121315ab4cf22f95a165fa57d3a7e3606b3214

Oliver Jan Krylow <oliver@bugabinga.net> · 2026-01-28 15:49 UTC

unsigned 1 parent

adds command and instructions for setting up git hooks.

---
okr

Changed files (2)

README.md

ready
@@ -12,6 +12,10 @@
- [lefthook][]: git commit hooks
- your favorite code editor
+## Setup
+
+Run `just git-hooks` first to setup git hooks, that validate the code before commiting.
+
## Secrets management
Since the services to manage secrets (e.g. Hashicorp's Vault) are created within this project, these cannot be used here to manage secrets.

justfile

ready
@@ -1,4 +1,8 @@
# https://just.systems
default:
- echo 'Hello, world!'
+ @just --list
+
+# setup git hooks for this repo
+git-hooks:
+ lefthook install