workflow

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

master

raw ยท 228 bytes

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