Skip to content

Add trust workspace env for skill activation test.#172

Open
CoasterJX wants to merge 1 commit into
evalsfrom
evals-fix-sa-yaml
Open

Add trust workspace env for skill activation test.#172
CoasterJX wants to merge 1 commit into
evalsfrom
evals-fix-sa-yaml

Conversation

@CoasterJX
Copy link
Copy Markdown
Contributor

No description provided.

@CoasterJX CoasterJX requested a review from kmontg May 19, 2026 01:33
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the GEMINI_CLI_TRUST_WORKSPACE environment variable to the eval.google-cicd-deploy.yaml and eval.google-cicd-pipeline-design.yaml configuration files. The feedback suggests quoting the boolean value "true" to ensure it is correctly interpreted as a string by YAML parsers, preventing potential unmarshaling errors when these values are used as environment variables.

base: cicd-evals:latest
env:
GOOGLE_APPLICATION_CREDENTIALS: ~/.config/gcloud/application_default_credentials.json
GEMINI_CLI_TRUST_WORKSPACE: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In YAML, the value true is interpreted as a boolean. Environment variables are typically expected to be strings. Some YAML parsers will fail to unmarshal a boolean value into a string field, which can lead to configuration errors. It is recommended to wrap the value in quotes to ensure it is treated as a string.

    GEMINI_CLI_TRUST_WORKSPACE: "true"

base: cicd-evals:latest
env:
GOOGLE_APPLICATION_CREDENTIALS: ~/.config/gcloud/application_default_credentials.json
GEMINI_CLI_TRUST_WORKSPACE: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In YAML, the value true is interpreted as a boolean. Environment variables are typically expected to be strings. Some YAML parsers will fail to unmarshal a boolean value into a string field, which can lead to configuration errors. It is recommended to wrap the value in quotes to ensure it is treated as a string.

    GEMINI_CLI_TRUST_WORKSPACE: "true"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant