From fdcfa03da6a24ef0e1a1f1197769752ebb430a21 Mon Sep 17 00:00:00 2001 From: ShenaoW Date: Fri, 24 Apr 2026 11:02:12 +0800 Subject: [PATCH] fix: trust workspace for gemini cli in CI --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 35af14fe7..df9393bdb 100644 --- a/action.yml +++ b/action.yml @@ -237,6 +237,7 @@ runs: id: 'install' env: GEMINI_CLI_VERSION: '${{ inputs.gemini_cli_version }}' + GEMINI_CLI_TRUST_WORKSPACE: 'true' EXTENSIONS: '${{ inputs.extensions }}' USE_PNPM: '${{ inputs.use_pnpm }}' SURFACE: 'GitHub' @@ -416,6 +417,7 @@ runs: env: GEMINI_DEBUG: '${{ fromJSON(inputs.gemini_debug || false) }}' GEMINI_API_KEY: '${{ inputs.gemini_api_key }}' + GEMINI_CLI_TRUST_WORKSPACE: 'true' SURFACE: 'GitHub' GOOGLE_CLOUD_PROJECT: '${{ inputs.gcp_project_id }}' GOOGLE_CLOUD_LOCATION: '${{ inputs.gcp_location }}'