Files
runaway/.github/workflows/ci.yml
T
ruihan 208fe44dce feat: history, dry-run, Discord webhook, bump 1.3.0
- history: read event logs from monitor/heal
- test/dry-run: simulate bypass, suppress, harden without side effects
- --dry-run: global flag for any command
- monitor --webhook <url>: Discord notification on MDM detection
- Update CHANGELOG, CI, standalone for all new features
- Bump 1.2.0 -> 1.3.0
2026-06-20 12:19:55 -03:00

58 lines
1.3 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: warning
additional_files: >
unleash
lib/colors.sh
lib/detect.sh
lib/validate.sh
lib/dscl.sh
lib/suppress.sh
lib/backup.sh
lib/status.sh
lib/heal.sh
lib/firewall.sh
lib/harden.sh
lib/whitelist.sh
lib/check.sh
lib/monitor.sh
lib/history.sh
syntax:
name: Bash Syntax Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check syntax
run: |
for f in unleash lib/*.sh examples/*.sh; do
[ -f "$f" ] || continue
echo "Checking: $f"
bash -n "$f" || exit 1
done
echo "All files pass syntax check"
markdown:
name: Markdown Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: '*.md'