I'm working with Cake and Teamcity and I'm trying to access which branch a GitHub PR is targeting
Been trying to find a GitHub API wrapper for Cake do to the job, or a plugin/script to TeamCity to populate some parameter with the value, but no luck so far.
Is there any good wrapper for Github PR in Cake or TeamCity that i have missed?
In the end I found and used the Octokit SDK for dotnet https://github.com/octokit/octokit.net
As I for @Nils answer would also need the authorization for the repo to run the GIT commands, i went with a higher level solution more native to Cake