diff options
author | Matthew Fennell <matthew@fennell.dev> | 2024-02-28 19:17:25 +0000 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2024-02-28 21:40:21 +0000 |
commit | d7e965843eb32fc2e459a15fe70251964ff40394 (patch) | |
tree | e46d2ff80b7d383b65cd4bd819c260ae9e2ab9a8 /hooks/commit-msg |
Initial commit
This commit adds the initial structure / scaffolding on which the rest of the
project can be built.
The idea is to have an entry point written in python, which parses a toml file
which contains information about each domain, and general configuration of the
lego tool which will actually renew the certificates. Each domain has an
additional post-renew script, the path to which is given in the config file,
which is used to install the new certificates onto the remote hosts if
necessary.
Diffstat (limited to 'hooks/commit-msg')
-rwxr-xr-x | hooks/commit-msg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/commit-msg b/hooks/commit-msg new file mode 100755 index 0000000..6f91fcb --- /dev/null +++ b/hooks/commit-msg @@ -0,0 +1,6 @@ +#!/bin/sh +# SPDX-FileCopyrightText: 2023 Matthew Fennell <matthew@fennell.dev> +# +# SPDX-License-Identifier: AGPL-3.0-only + +gitlint --staged --msg-filename "$1" run-hook |