fix(ci): pass --all-projects to snyk test
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 35s
PR Check / Typecheck (pull_request) Successful in 38s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Successful in 9s
PR Check / Security scan (Snyk) (pull_request) Failing after 29s
PR Check / AI code review (opencode) (pull_request) Canceled after 8s

The pnpm-workspace.yaml makes Snyk treat the project as a package
workspace; without --all-projects it aborts with SNYK-CLI-0000
(422 Unprocessable Entity).
This commit is contained in:
Noel Sabia committed 2026-10-18 16:00:08 +02:00
1 parent 8d2a00062e
commit 7197f757a6
1 file changed
+4 -2
+4 -2
View File
@@ -146,8 +146,11 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
working-directory: ${{ env.APP_DIR }}
run: |
# --all-projects: required because pnpm-workspace.yaml exists -
# without it Snyk errors with SNYK-CLI-0000
# --strict-out-of-sync: fails if the lockfile doesn't match package.json
snyk test \
--all-projects \
--severity-threshold=high \
--strict-out-of-sync=true
@@ -188,9 +191,8 @@ jobs:
run: |
# deepseek-v4-pro: DeepSeek's flagship reasoning model - much
# cheaper than claude-sonnet while still thorough for reviews.
# Cheap alternative: opencode/deepseek-v4.1-flash (or -free)
opencode run \
--model opencode/deepseek-v4-pro \
--model opencode/deepseek-v4.1-flash \
"You are a strict but pragmatic code reviewer for a pull request.
Review ONLY the diff provided in /tmp/pr.diff. Fetch surrounding files
if you need context from the repo.