From 7197f757a6447cf29a11f60914d89939bd647040 Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sun, 18 Oct 2026 16:00:08 +0200 Subject: [PATCH] fix(ci): pass --all-projects to snyk test 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). --- .gitea/workflows/pr-checker.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pr-checker.yml b/.gitea/workflows/pr-checker.yml index 2264b3b..0860b94 100644 --- a/.gitea/workflows/pr-checker.yml +++ b/.gitea/workflows/pr-checker.yml @@ -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.