|
| 1 | + - name: Run Gemini CLI |
| 2 | + # You may pin to the exact commit or the version. |
| 3 | + # uses: google-github-actions/run-gemini-cli@68d5a6d2e31ff01029205c58c6bf81cb3d72910b |
| 4 | + uses: google-github-actions/[email protected] |
| 5 | + with: |
| 6 | + # A string passed to the Gemini CLI's [`--prompt` argument](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md#command-line-arguments). |
| 7 | + prompt: # optional, default is You are a helpful assistant. |
| 8 | + # A JSON string written to `.gemini/settings.json` to configure the CLI's _project_ settings. |
| 9 | +For more details, see the documentation on [settings files](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md#settings-files). |
| 10 | + settings: # optional |
| 11 | + # The API key for the Gemini API. |
| 12 | + gemini_api_key: # optional |
| 13 | + # The Google Cloud project ID. |
| 14 | + gcp_project_id: # optional |
| 15 | + # The Google Cloud location. |
| 16 | + gcp_location: # optional |
| 17 | + # The Google Cloud Workload Identity Provider. |
| 18 | + gcp_workload_identity_provider: # optional |
| 19 | + # The Google Cloud service account email. |
| 20 | + gcp_service_account: # optional |
| 21 | + # A flag to indicate if Vertex AI should be used. |
| 22 | + use_vertex_ai: # optional, default is false |
| 23 | + # A flag to indicate if Gemini Code Assist should be used. |
| 24 | + use_gemini_code_assist: # optional, default is false |
| 25 | + # The version of the Gemini CLI to install. |
| 26 | + gemini_cli_version: # optional, default is latest |
| 27 | + |
0 commit comments