-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add base_branch
to exported envs
#34
Comments
Which CI platform are you on? Does this bit help?: https://github.com/siddharthkp/ci-env/blob/master/index.js#L19-L22 |
@siddharthkp want to use it for a tool that could be run on any env. Looks like the code will only tell you current branch. Lines 19 to 22 in cc891b5
When running from a pull request e.g. |
ah, I understand now. Does travis/other CI expose that information? |
@siddharthkp travis has |
Perfect, would you like to shot on the implementation? It might make sense to keep the name similar to |
Currently it does not look like there's a way to get the base branch being targeted in the case of a pull request.
The text was updated successfully, but these errors were encountered: