Skip to content

armgit / ARTEX

Public Imported from GitHub
0

ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)

ci: run shellcheck at warning severity

GRAB Racem3322ecd6a6a2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 159a0a9..f927333 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,8 +55,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- # shellcheck is preinstalled on the ubuntu runners.
- - run: shellcheck install.sh update.sh start.sh scripts/backup.sh
+ # shellcheck is preinstalled on the ubuntu runners. -S warning: the scripts
+ # currently have only info-level notes (intentional A && B || C chains in
+ # update.sh, an unquoted glob in backup.sh's prune), so fail on warnings.
+ - run: shellcheck -S warning install.sh update.sh start.sh scripts/backup.sh
web:
runs-on: ubuntu-latest