You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to have an environmental variable for if a Pull Request originated from the source repository or a forked (external) repository. This could be done several different ways, but the easiest I can think of are the following:
BUILD_CAUSE=GITHUBREMOTEPULLREQUESTCAUSE
or adding the source org/user into the branch source name similarly to how Github would display this within the pull request
DOTCI_PULL_REQUEST_SOURCE_BRANCH=user:branch
The text was updated successfully, but these errors were encountered:
The value I'm looking for is held within GitHubPullRequestCause.label just to expose that so I can setup a project's .ci.yml to do specific tasks when we receive a pull request from a forked repository would be great.
tmack8001
pushed a commit
to tmack8001/DotCi
that referenced
this issue
Mar 17, 2016
It would be useful to have an environmental variable for if a Pull Request originated from the source repository or a forked (external) repository. This could be done several different ways, but the easiest I can think of are the following:
BUILD_CAUSE=GITHUBREMOTEPULLREQUESTCAUSE
or adding the source org/user into the branch source name similarly to how Github would display this within the pull request
DOTCI_PULL_REQUEST_SOURCE_BRANCH=user:branch
The text was updated successfully, but these errors were encountered: