-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
chore(telemetry) improve github action and circle detection #28732
Conversation
getEnvDetect({ key: `CIRCLE_BRANCH`, name: `CircleCI` }), | ||
getEnvDetect({ key: `CIRCLECI`, name: `CircleCI` }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for papertrail - CircleCi env vars are document in https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables (at least as of moment of writing this comment heh)
getEnvDetect({ key: `NOW_BUILDER_ANNOTATE`, name: `ZEIT Now` }), | ||
getEnvDetect({ key: `NOW_REGION`, name: `ZEIT Now v1` }), | ||
getEnvDetect({ key: `VERCEL_URL`, name: `Vercel Now` }), | ||
getEnvDetect({ key: `NOW_BUILDER`, name: `Vercel Now` }), | ||
getEnvDetect({ key: `VERCEL_BUILDER`, name: `Vercel Now` }), | ||
getEnvDetect({ key: `CODESANDBOX_SSE`, name: `CodeSandbox` }), | ||
getEnvDetect({ key: `GITHUB_ACTIONS`, name: `GitHub Actions` }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documented in https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#default-environment-variables (at least as of moment of writing this comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* chore(telemetry) improve github action and circle detection * Change order * Make sure tests work in circle (cherry picked from commit 3af7182)
…28747) * chore(telemetry) improve github action and circle detection * Change order * Make sure tests work in circle (cherry picked from commit 3af7182) Co-authored-by: Jarmo Isotalo <[email protected]>
Published in |
Improves
ENV
based CI detection. This would be cool to backport