From a6761fae9a2ba633dcfa6c577154f181a7539f4f Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sun, 18 Oct 2026 17:04:15 +0200 Subject: [PATCH] ci: make dependency audit blocking, log opencode errors - audit no longer runs with continue-on-error: a failed audit must turn the pipeline red, not pass silently - opencode review runs with --print-logs so auth and provider errors (e.g. invalid API key vs missing Go subscription) appear in the job log instead of an opaque exit 1 --- .gitea/workflows/pr-checker.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/pr-checker.yml b/.gitea/workflows/pr-checker.yml index fff653a..2f671c3 100644 --- a/.gitea/workflows/pr-checker.yml +++ b/.gitea/workflows/pr-checker.yml @@ -109,7 +109,8 @@ jobs: - name: Audit dependencies for known vulnerabilities working-directory: ${{ env.APP_DIR }} run: pnpm audit --prod --audit-level moderate - continue-on-error: true # advisory: does not block the PR by default + # blocks the PR on vulnerabilities - flip to true only if a CVE fix + # is genuinely blocked, never to make red pipelines "go away" # ------------------------------------------------------- dockerfile lint -- dockerfile-lint: @@ -212,7 +213,10 @@ jobs: # Output is redirected (not piped through tee): if opencode fails, # the job must fail here so the error log is never posted as a # "review" comment. + # --print-logs: surface auth/provider errors in the CI log instead + # of failing with an opaque exit code opencode run \ + --print-logs \ --model opencode-go/deepseek-v4-pro#max \ "You are a principal engineer performing a rigorous code review on a pull request. You have tool access: read repo files for context when