naruapon/Run Gemini CLI
Invoke the Gemini CLI from a GitHub Action.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| prompt | 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). | no | You are a helpful assistant. |
| settings | A JSON string written to `.gemini/settings.json` to configure the CLI's _project_ settings. For more details, see the documentation on [settings files](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md#settings-files). | no | — |
| gemini_api_key | The API key for the Gemini API. | no | — |
| gcp_project_id | The Google Cloud project ID. | no | — |
| gcp_location | The Google Cloud location. | no | — |
| gcp_workload_identity_provider | The Google Cloud Workload Identity Provider. | no | — |
| gcp_service_account | The Google Cloud service account email. | no | — |
| use_vertex_ai | A flag to indicate if Vertex AI should be used. | no | false |
| use_gemini_code_assist | A flag to indicate if Gemini Code Assist should be used. | no | false |
| gemini_cli_version | The version of the Gemini CLI to install. | no | latest |
Outputs
| name | description |
|---|---|
| summary | The summarized output from the Gemini CLI execution. |