fix(ci): use opencode-go plan model for AI review #5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user