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

Default to forwarding CI environment variable #71

Closed
emarsden opened this issue Nov 2, 2023 · 1 comment
Closed

Default to forwarding CI environment variable #71

emarsden opened this issue Nov 2, 2023 · 1 comment

Comments

@emarsden
Copy link

emarsden commented Nov 2, 2023

I check for the CI environment variable to disable "expensive" tests (for instance that generate a lot of network activity) on the GitHub CI workers. This is always set on a GitHub runner, running natively on in a container.

It seems that it might be convenient for users to forward this environment variable into the VMs by default, or at least to make a reference to this in the README.md section on environment_variables.

@jacob-carlborg
Copy link
Contributor

jacob-carlborg commented Nov 3, 2023

The CI and any environment variables starting with GITHUB_ are already automatically forwarded. I've updated the readme to reflect this, in the "Inputs" section: https://github.com/cross-platform-actions/action#inputs.

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

No branches or pull requests

2 participants