Skip to content

feat(pi-status-monitor): add SSH service and port 22 check #98

feat(pi-status-monitor): add SSH service and port 22 check

feat(pi-status-monitor): add SSH service and port 22 check #98

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
syntax-check:
name: Bash syntax check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check all shell scripts
run: |
failed=0
while IFS= read -r -d '' f; do
if bash -n "$f" 2>&1; then
echo " OK $f"
else
echo " FAIL $f"
failed=1
fi
done < <(grep -rl '#!/usr/bin/env bash\|#!/bin/bash' . \
--include="*.sh" --exclude-dir=".git" --exclude-dir="node_modules" \
-Z 2>/dev/null)
exit $failed