You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| GEMINI_CLI_VERSION | Controls which version of the Gemini CLI is installed. Supports npm versions (e.g., `0.1.0`, `latest`), a branch name (e.g., `main`), or a commit hash. | Variable | No | To pin or override CLI version |
82
-
| GCP_WIF_PROVIDER | The full resource name of the Workload Identity Provider. | Variable | No |If using observability |
83
-
| OTLP_GOOGLE_CLOUD_PROJECT |The Google Cloud project for telemetry. | Variable | No |If using observability |
84
-
| GOOGLE_CLOUD_PROJECT |The Google Cloud project for Vertex auth. | Variable | No |If using Vertex auth |
85
-
| GOOGLE_CLOUD_LOCATION |The location of the Google Cloud project for Vertex auth. | Variable | No |If using Vertex auth |
86
-
| GOOGLE_GENAI_USE_VERTEXAI | Set to 'true' to use Vertex AI | Variable | No |If using Vertex auth|
87
-
| APP_ID | GitHub App ID for custom authentication. | Variable | No |If using a custom GitHub App |
88
-
89
-
90
-
To add an environment variable, go to your repository's **Settings > Secrets and
91
-
variables > Actions > New variable**. Enter the variable name and value, then
92
-
save. For organization-wide or environment-specific variables, see the
80
+
| GEMINI_CLI_VERSION | Controls which version of the Gemini CLI is installed. Supports `npm` versions (e.g., `0.1.0`, `latest`), a branch name (e.g., `main`), or a commit hash. | Variable | No | To pin or override the CLI version |
81
+
| GCP_WIF_PROVIDER | Full resource name of the Workload Identity Provider. | Variable | No |When using observability|
82
+
| OTLP_GOOGLE_CLOUD_PROJECT | Google Cloud project for telemetry. | Variable | No |When using observability|
83
+
| GOOGLE_CLOUD_PROJECT | Google Cloud project for Vertex AI authentication. | Variable | No |When using Vertex AI authentication|
84
+
| GOOGLE_CLOUD_LOCATION |Geographic location of the Google Cloud project for Vertex AI authentication. | Variable | No |When using Vertex AI authentication|
85
+
| GOOGLE_GENAI_USE_VERTEXAI | Set to 'true' to use Vertex AI | Variable | No |When using Vertex AI authentication |
86
+
| APP_ID | GitHub App ID for custom authentication. | Variable | No |When using a custom GitHub App|
87
+
88
+
89
+
To add an environment variable: 1) Go to your repository's **Settings > Secrets and
90
+
variables > Actions > New variable**; 2) Enter the variable name and value; and 3) Save.
91
+
For organization-wide or environment-specific variables, refer to the
You can configure the [maxSessionTurns](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md#available-settings-in-settingsjson)
143
-
when running the gemini cli in the workflow's yml file if you want to restrict
144
-
maximum session turns for each yolo gemini cli run. In the step 'Run Gemini',
145
-
you can configure the maxSessionTurns in the settings.
140
+
You can configure the [`maxSessionTurns`](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md#available-settings-in-settingsjson)
141
+
when running the Gemini CLI in the workflow's YAML configuration file if you want to restrict
142
+
the maximum number of session turns for each of the `yolo` Gemini CLI runs. In the 'Run Gemini' step ,
143
+
you can configure the `maxSessionTurns` in the settings.
146
144
147
145
## Authentication
148
146
@@ -155,41 +153,43 @@ authenticate in two ways:
155
153
default `GITHUB_TOKEN` provided by the workflow.
156
154
157
155
For a detailed guide on how to set up authentication, including creating a
158
-
custom app and the required permissions, please see the
156
+
custom app and the required permissions, go to the
0 commit comments