feat(OpenCode TLS): 新增自簽憑證驗證略過設定
This commit is contained in:
@@ -11,6 +11,10 @@ export const PR_BASE_BRANCH = process.env.PR_BASE_BRANCH || '';
|
||||
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';
|
||||
}
|
||||
|
||||
/** 將逗號分隔的 API key 字串拆成陣列 */
|
||||
function splitKeys(value) {
|
||||
if (!value) return [];
|
||||
|
||||
Reference in New Issue
Block a user