7 lines
187 B
Text
Executable file
7 lines
187 B
Text
Executable file
# Skip in CI environments
|
|
if [ -n "$CI" ] || [ -n "$FORGEJO_ACTIONS" ] || [ -n "$GITHUB_ACTIONS" ]; then
|
|
echo "Skipping pre-commit hooks in CI environment"
|
|
exit 0
|
|
fi
|
|
|
|
npx lint-staged
|