Buildbot no longer supports Python 2.7 on the Buildbot master.
This page documents the latest, unreleased version of Buildbot. For documentation for released versions, see http://docs.buildbot.net/current/.
- class buildbot.steps.source.github.GitHub¶
This allows to test github pull requests merged directly into the mainline.
GitHub indeed provides
refs/origin/pull/NNN/merge on top of
refs/origin/pull/NNN/head which is a magic ref that always creates a merge commit to the latest version of the mainline (i.e., the target branch for the pull request).
The revision in the GitHub event points to
/head, and it’s important for the GitHub reporter as this is the revision that will be tagged with a CI status when the build is finished.