Git Burn, highly opinionated, zero-configuration commit linter.
246
Git Burn is a server-side hook for linting commits.
Features · Install · Integrations · Copyright

snap install git-burn --classic
Note that you should have snapd installed.
To set a global hook for all repositories:
install -dm 0755 -o git -g git /var/opt/gitlab/snap
ln -fs "$(which git-burn)" /opt/gitlab/embedded/service/gitlab-shell/hooks/update.d
Please refer to GitLab documentation on server-side hooks for details.
Obtain GitLab personal access token first. Go to GitLab web interface → User Settings → Access Tokens. Give it a name like “git-burn”, check only “read_user” scope, and create a token.

Then just run on GitLab Shell machine:
snap set git-burn gitlab.url="https://…" gitlab.token="…"
Copyright © 2018–2019 Arthur Khashaev. See license for details.
Content type
Image
Digest
Size
64.1 MB
Last updated
over 5 years ago
docker pull inviz/git-burn