Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply workflow action env to CI runner env, not just bazel commands #6437

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

bduffany
Copy link
Member

@bduffany bduffany commented Apr 24, 2024

The workflow config schema supports an "env" section for passing arbitrary env vars but it was only being set for individual bazel commands. This PR makes it so we set the env at the action level, which allows passing env vars e.g. to git, like GIT_TRACE2=1 or GIT_CURL_VERBOSE=1.

Related issues: N/A

@bduffany bduffany changed the title Use env from workflow action Apply workflow action env to CI runner env, not just bazel commands Apr 24, 2024
@bduffany bduffany merged commit 13af386 into master Apr 24, 2024
14 of 19 checks passed
@bduffany bduffany deleted the workflow-env branch April 24, 2024 17:45
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.

None yet

2 participants