diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-04 23:00:30 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-04 23:00:30 +0300 |
| commit | 71ffb442e5f8072c6e0a974df9ae085bcf0e5d2a (patch) | |
| tree | d336b1d64747aeebb1a80c2e7c4e9b5d24253751 /lefthook.yml | |
| parent | f96ea38d595162813a460f80f84e20f8d7f241bc (diff) | |
| download | Project-Tick-71ffb442e5f8072c6e0a974df9ae085bcf0e5d2a.tar.gz Project-Tick-71ffb442e5f8072c6e0a974df9ae085bcf0e5d2a.zip | |
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 <yongdohyun@projecttick.org>
Diffstat (limited to 'lefthook.yml')
| -rw-r--r-- | lefthook.yml | 37 |
1 files changed, 37 insertions, 0 deletions
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 |
