Some checks failed
CI / build (pull_request) Successful in 14s
CI / build (push) Successful in 11s
CI / lint (pull_request) Successful in 9s
CI / create-and-publish-docker-image (pull_request) Successful in 13s
CI / lint (push) Successful in 9s
CI / create-and-publish-docker-image (push) Has been cancelled
13 lines
143 B
Bash
Executable File
13 lines
143 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Running pre-commit hooks..."
|
|
|
|
biome check --write
|
|
biome lint --write
|
|
|
|
if git diff --quiet; then
|
|
exit 0
|
|
else
|
|
git add -u
|
|
fi
|