From f47a7d9c8d1935f8d91944ee2755b46e44245886 Mon Sep 17 00:00:00 2001 From: Christian Ingenhaag Date: Fri, 16 Feb 2024 11:04:34 +0100 Subject: [PATCH] chore: Add pre commit hook --- .pre-commit-config.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..487ae35 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,18 @@ +# Copyright 2024 Deutsche Telekom IT GmbH +# +# SPDX-License-Identifier: Apache-2.0 + +repos: + - repo: https://github.com/fsfe/reuse-tool + rev: v1.0.0 + hooks: + - id: reuse + stages: + - pre-commit + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v3.1.0 + hooks: + - id: conventional-pre-commit + stages: + - commit-msg + args: [] \ No newline at end of file