Skip to content

Commit cc3e4db

Browse files
fix: downgrade Gemini CLI to 0.15.0 to suppress deprecation warnings
Explicitly sets the Gemini CLI version to 0.15.0 in the GitHub Action workflow. Newer versions of the CLI (0.20+) print a deprecation warning for the `--prompt` flag to STDERR, which the GitHub Action captures and fails to parse as JSON, causing the workflow to crash. Downgrading restores compatibility with the `run-gemini-cli` action. Also configures the model to `gemini-1.5-flash` for efficiency.
1 parent d063f65 commit cc3e4db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/gemini-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: google-github-actions/run-gemini-cli@main
2222
with:
2323
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
24-
gemini_cli_version: '0.20.2'
24+
gemini_cli_version: '0.15.0'
2525
gemini_model: 'gemini-1.5-flash'
2626
extensions: |
2727
[
@@ -72,7 +72,7 @@ jobs:
7272
uses: google-github-actions/run-gemini-cli@main
7373
with:
7474
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
75-
gemini_cli_version: '0.20.2'
75+
gemini_cli_version: '0.15.0'
7676
gemini_model: 'gemini-1.5-flash'
7777
extensions: |
7878
[

0 commit comments

Comments
 (0)