From 71ffb442e5f8072c6e0a974df9ae085bcf0e5d2a Mon Sep 17 00:00:00 2001 From: Mehmet Samet Duman Date: Sat, 4 Apr 2026 23:00:30 +0300 Subject: NOISSUE update bootstrap script paths in documentation for Linux and Windows remove unnecessary badges from README add example environment configuration for Ofborg create production configuration for Ofborg correct RabbitMQ host in example configuration add push event handling in GitHub webhook receiver implement push filter task for handling push events extend build job structure to include push event information enhance build result structure to accommodate push event data add push event data handling in various message processing tasks update log message collector to prevent 404 errors on log links add push filter task to task module Signed-off-by: Mehmet Samet Duman --- lefthook.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lefthook.yml (limited to 'lefthook.yml') diff --git a/lefthook.yml b/lefthook.yml new file mode 100644 index 0000000000..f92640489b --- /dev/null +++ b/lefthook.yml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: 2026 Project Tick +# +# MeshMC Lefthook Configuration +# https://lefthook.dev/configuration/ + +pre-commit: + jobs: + - name: reuse-lint + run: | + if ! reuse lint; then + echo "Downloading missing licenses..." + reuse download --all + git add LICENSES/ + echo "Missing licenses downloaded and staged." + # Re-check after fix + reuse lint + fi + + - name: checkpatch + run: | + git diff --cached -- '*.cpp' '*.h' '*.hpp' 'CMakeLists.txt' '*.cmake' | perl scripts/checkpatch.pl --diff --summary + skip: + - merge + - rebase + +pre-push: + jobs: + - name: reuse-lint + run: | + if ! reuse lint; then + echo "Downloading missing licenses..." + reuse download --all + git add LICENSES/ + echo "Missing licenses downloaded and staged." + reuse lint + fi -- cgit 0.0.5-2-1-g0f52