Skip to content

Commit e5ca5ff

Browse files
committed
ci(ai-dev): set GEMINI_CLI_TRUST_WORKSPACE for headless CI run
1 parent 3470032 commit e5ca5ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ai-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ jobs:
9393
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
9494
TASK_TYPE: ${{ inputs.task_type }}
9595
GEMINI_MODEL: ${{ vars.GEMINI_MODEL || 'gemini-2.5-flash' }}
96+
# Required for headless CI: skip the interactive "trusted folder" prompt.
97+
GEMINI_CLI_TRUST_WORKSPACE: 'true'
9698
run: |
9799
set -e
98100
npm install -g @google/gemini-cli

0 commit comments

Comments
 (0)