I'm looking at building some integration between Github and Team Services builds so that I can get a Team Services build running when a Github pull request is created or updated; this isn't supported directly right now that I can tell.
However, looking at the documentation for the REST API for Team Services build, it says I need to pass in the name of the branch to build in the body.
Pull requests don't have a branch. I do have a commit ID though. Can I pass the SHA-1 for the commit as the branch name? Or is there some other way to tell it to go to a specific commit?