Skip to content

How to update fork's pull request HEAD from the Github API? #24767

Discussion options

You must be logged in to vote

Hello. I’ve asked this almost a week ago so I have a workaround for the the problem now: I’m creating a temporary ref, pulling it, then deleting it after.

Here’s the code for the workaround.

I’m going through all of this trouble because I want the bot’s commits to be signed and verified; and the only way I found of doing that is by creating commits through the API.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment