From 064a1d01c5c14f5ecc032fa9b8346a4a88b893f6 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Thu, 22 Jan 2026 22:07:32 +0100 Subject: witryna 0.1.0 — initial release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Minimalist Git-based static site deployment orchestrator. Webhook-triggered builds in Podman/Docker containers with atomic symlink publishing, SIGHUP hot-reload, and zero-downtime deploys. See README.md for usage, CHANGELOG.md for details. --- lefthook.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lefthook.yml (limited to 'lefthook.yml') diff --git a/lefthook.yml b/lefthook.yml new file mode 100644 index 0000000..fd6856d --- /dev/null +++ b/lefthook.yml @@ -0,0 +1,22 @@ +--- +pre-commit: + parallel: true + commands: + hadolint: + glob: "**/*Dockerfile" + run: hadolint {staged_files} + woodpecker: + glob: ".woodpecker/*.{yml,yaml}" + run: woodpecker lint {staged_files} + yamllint: + glob: "**/*.{yml,yaml}" + run: yamllint {staged_files} + fmt: + run: cargo fmt --all -- --check + stage_fixed: true + clippy: + run: cargo clippy --all-targets --all-features -- -D warnings + test: + run: cargo test --all + gitleaks: + run: gitleaks protect --staged -- cgit v1.2.3