diff --git a/.github/workflows/gemini-cli.yml b/.github/workflows/gemini-cli.yml index 23179d0f2..4d37e31ed 100644 --- a/.github/workflows/gemini-cli.yml +++ b/.github/workflows/gemini-cli.yml @@ -57,6 +57,8 @@ jobs: ) timeout-minutes: 10 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Generate GitHub App Token' @@ -203,8 +205,10 @@ jobs: gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 50, "telemetry": { "enabled": true, diff --git a/.github/workflows/gemini-issue-automated-triage.yml b/.github/workflows/gemini-issue-automated-triage.yml index 4652f53f0..1e93a03e9 100644 --- a/.github/workflows/gemini-issue-automated-triage.yml +++ b/.github/workflows/gemini-issue-automated-triage.yml @@ -41,6 +41,8 @@ jobs: ) timeout-minutes: 5 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Checkout repository' @@ -73,8 +75,10 @@ jobs: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 25, "coreTools": [ "run_shell_command(echo)", diff --git a/.github/workflows/gemini-issue-scheduled-triage.yml b/.github/workflows/gemini-issue-scheduled-triage.yml index 5cb44ffd3..15d5c1b2e 100644 --- a/.github/workflows/gemini-issue-scheduled-triage.yml +++ b/.github/workflows/gemini-issue-scheduled-triage.yml @@ -23,6 +23,8 @@ jobs: triage-issues: timeout-minutes: 5 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Checkout repository' @@ -81,8 +83,10 @@ jobs: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 25, "coreTools": [ "run_shell_command(echo)", diff --git a/.github/workflows/gemini-pr-review.yml b/.github/workflows/gemini-pr-review.yml index 30555f042..ea0c09e25 100644 --- a/.github/workflows/gemini-pr-review.yml +++ b/.github/workflows/gemini-pr-review.yml @@ -62,6 +62,8 @@ jobs: ) timeout-minutes: 5 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Checkout PR code' @@ -159,8 +161,10 @@ jobs: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 20, "mcpServers": { "github": { diff --git a/examples/workflows/gemini-cli/gemini-cli.yml b/examples/workflows/gemini-cli/gemini-cli.yml index 3fbaedc70..18e2ca735 100644 --- a/examples/workflows/gemini-cli/gemini-cli.yml +++ b/examples/workflows/gemini-cli/gemini-cli.yml @@ -57,6 +57,8 @@ jobs: ) timeout-minutes: 10 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Generate GitHub App Token' @@ -203,8 +205,10 @@ jobs: gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 50, "telemetry": { "enabled": false, diff --git a/examples/workflows/issue-triage/gemini-issue-automated-triage.yml b/examples/workflows/issue-triage/gemini-issue-automated-triage.yml index 141df3fc6..f0d8cabaf 100644 --- a/examples/workflows/issue-triage/gemini-issue-automated-triage.yml +++ b/examples/workflows/issue-triage/gemini-issue-automated-triage.yml @@ -41,6 +41,8 @@ jobs: ) timeout-minutes: 5 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Checkout repository' @@ -73,8 +75,10 @@ jobs: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 25, "coreTools": [ "run_shell_command(echo)", diff --git a/examples/workflows/issue-triage/gemini-issue-scheduled-triage.yml b/examples/workflows/issue-triage/gemini-issue-scheduled-triage.yml index f44205973..88da14dbb 100644 --- a/examples/workflows/issue-triage/gemini-issue-scheduled-triage.yml +++ b/examples/workflows/issue-triage/gemini-issue-scheduled-triage.yml @@ -23,6 +23,8 @@ jobs: triage-issues: timeout-minutes: 5 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Checkout repository' @@ -81,8 +83,10 @@ jobs: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 25, "coreTools": [ "run_shell_command(echo)", diff --git a/examples/workflows/pr-review/gemini-pr-review.yml b/examples/workflows/pr-review/gemini-pr-review.yml index b05b2f3fb..f79e22a28 100644 --- a/examples/workflows/pr-review/gemini-pr-review.yml +++ b/examples/workflows/pr-review/gemini-pr-review.yml @@ -62,6 +62,8 @@ jobs: ) timeout-minutes: 5 runs-on: 'ubuntu-latest' + env: + ACTIONS_STEP_DEBUG: true # Default to debug logging steps: - name: 'Checkout PR code' @@ -159,8 +161,10 @@ jobs: gemini_api_key: '${{ secrets.GEMINI_API_KEY }}' use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}' use_gemini_code_assist: '${{ vars.GOOGLE_GENAI_USE_GCA }}' + # Default to debug logging. Disable debug logging by removing '"debug": true,' settings: |- { + "debug": true, "maxSessionTurns": 20, "mcpServers": { "github": {