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

Which environment variables are available? #102

Closed
grug opened this issue May 15, 2017 · 2 comments
Closed

Which environment variables are available? #102

grug opened this issue May 15, 2017 · 2 comments

Comments

@grug
Copy link

grug commented May 15, 2017

In the readme, the following is stated:

PR details (id, author etc.) will be available as environment variables for tasks to consume.

Which details are available and what are their respective environment variable names?

Thanks,
Dave

@ashwanthkumar
Copy link
Owner

@grug I've updated the README with the list of environment variables available when using Github PR plugin.

I'm also attaching that table here for your reference.

Environment Variable Description
PR_BRANCH Pull Request was submitted from this branch. Eg. feature-1
TARGET_BRANCH Pull Request was submitted for this branch. Eg. master
PR_URL Pull Request URL on the Github
PR_AUTHOR Name of the user who submitted the Pull Request
PR_AUTHOR_EMAIL Email address of the author who submitted the Pull Request. Note: This is subject to availability on their Github profile.
PR_DESCRIPTION Description of the Pull Request
PR_TITLE Title of the Pull Request

@grug
Copy link
Author

grug commented May 15, 2017

Thank you very much!

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