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