Skip to content

Commit e6c8d2f

Browse files
authored
Create main.yml
1 parent 1aa09b0 commit e6c8d2f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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

Comments
 (0)