1 2 3 4 5 6 7
if echo "$1" | grep -q "\[skip ci\]"; then echo "Skipping CI for commit with [skip ci] in message" exit 0 else npx lint-staged npm test fi