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

Commit changes from received PushEvent to other branches


I am using 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!

1 Reply
Community Manager
Message 2 of 2

Re: Commit changes from received PushEvent to other branches

There isn't a one-step general-case process for doing what you want, no, because the two branches may be completely unrelated or may create merge conflicts that would need to be resolved. If you can give a more concrete example of what exactly you're trying to accomplish, we may be able to point you in the right direction.


Let us know!