Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
9 lines
237 B
Bash
Executable File
9 lines
237 B
Bash
Executable File
#!/bin/bash
|
|
# Script to install git hooks managed by pre-commit
|
|
|
|
set -euo pipefail
|
|
|
|
echo "Installing pre-commit hooks..."
|
|
uv run pre-commit install --hook-type pre-commit --hook-type pre-push
|
|
echo "Hooks installed: pre-commit, pre-push"
|