mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 21:32:56 -07:00
fix(bot): disable gh pagers globally via env
- Sets `GH_PAGER: ''` in the workflow environment variables to ensure any `gh` CLI commands executed by the bot or in bash scripts do not hang waiting for user input in the headless CI environment.
This commit is contained in:
@@ -141,6 +141,7 @@ jobs:
|
||||
GEMINI_TELEMETRY_LOG_PROMPTS: 'true'
|
||||
GEMINI_TELEMETRY_OUTFILE: 'brain-telemetry.json'
|
||||
GEMINI_DEBUG_LOG_FILE: 'brain-debug.log'
|
||||
GH_PAGER: ''
|
||||
run: |
|
||||
# Determine intent and prompt
|
||||
MANDATE_INPUT="${{ github.event.inputs.mandate || 'auto' }}"
|
||||
@@ -219,6 +220,7 @@ jobs:
|
||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||
GEMINI_MODEL: 'gemini-3-flash-preview'
|
||||
GEMINI_CLI_HOME: 'tools/gemini-cli-bot'
|
||||
GH_PAGER: ''
|
||||
run: |
|
||||
if git diff --staged --quiet; then
|
||||
echo "No changes staged. Skipping critique."
|
||||
|
||||
Reference in New Issue
Block a user