Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 1

Commit changes from received PushEvent to other branches

Heja,

I am using http://github-api.kohsuke.org/ to receive a pushEvent and getting the corresponding PullRequest. 

Now I want to commit the changes from that PushEvent to other branches(not just the one the PullRequest was for). Is that somehow possible?

I already checked out the GHContentBuilder-class but I would need the changed files for that (can get the names from the PullRequest but not the whole files).

Is it possible to forward the PullRequest to another branch or is there some possibility with the PushEvent?

Thank you!