Bot releases are visible (Hide)
Published by pvdlg about 6 years ago
branch
will change for certain CI services when building a Pull Request (and only in that case).For the following services, branch
will contains the Pull Request target rather than the branch the Pull Request originated from: Bitrise, Buildkite, Cirrus, Drone, Jenkins, Shippable, VSTS.
For the following services, branch
will be undefined
as no variable is provided to determine the Pull Request target: Buddy, CircleCI, Sail, Semaphore.
For the following services, branch
will not change and still contains the Pull Request target: Travis, Appveyor.
The prBranch
property can be used to determine the branch the Pull Request originated from.