Skip to content

Missing API for "Automatically delete head branches" #24768

Discussion options

You must be logged in to vote

You can use the PATCH /repos/{owner}/{repo} endpoint (Update a repository). The delete_branch_on_merge parameter is what you are looking for.

Does that work for you?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@joaovitor-cx
Comment options

Answer selected
Comment options

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