From 9d759464c21376ead9576cd3acf511d9067962ab Mon Sep 17 00:00:00 2001 From: Jeffery Date: Sat, 20 Jun 2026 13:56:00 +0000 Subject: [PATCH] =?UTF-8?q?feat(OpenCode=20TLS):=20=E9=A0=90=E8=A8=AD?= =?UTF-8?q?=E8=B7=B3=E9=81=8E=20TLS=20=E9=A9=97=E8=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yaml | 4 ++-- app/config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yaml b/action.yaml index 30b6eb4..46bfbc0 100644 --- a/action.yaml +++ b/action.yaml @@ -96,9 +96,9 @@ inputs: description: 'OpenCode server Basic Auth password' required: false OPENCODE_SKIP_TLS_VERIFY: - description: '跳過 OpenCode server SSL/TLS 憑證驗證(自簽憑證時使用)' + description: '跳過 OpenCode server SSL/TLS 憑證驗證' required: false - default: 'false' + default: 'true' runs: using: 'docker' diff --git a/app/config.js b/app/config.js index 0fcf655..da8e864 100644 --- a/app/config.js +++ b/app/config.js @@ -14,7 +14,7 @@ export const FINDINGS_PATH = '.gitea/ai-review/findings.json'; export const EXCLUSIONS_PATH = '.gitea/ai-review/exclusions.json'; export function shouldSkipOpenCodeTLSVerify() { - return process.env.OPENCODE_SKIP_TLS_VERIFY === 'true'; + return process.env.OPENCODE_SKIP_TLS_VERIFY !== 'false'; } export function getOpenCodeHttpsAgent() {