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:
Christian Gunderman
2026-05-13 11:36:37 -07:00
parent 8a6ec5978c
commit 4464ff23fc
@@ -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."