workflow

git clone https://git.godosa.eu/workflow

master

raw ยท 232 bytes

1
2
3
4
5
#!/bin/sh
# Denylist guard (scripts/denylist_check.py): staged lines + paths. Enable: git config core.hooksPath .githooks
s="$(git rev-parse --show-toplevel)/scripts/denylist_check.py"
[ -f "$s" ] || exit 0
exec python3 "$s" staged