Skip to content
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 2 replies

Comment options

You must be logged in to vote
2 replies
@joaovitor-cx
Comment options

@zihaoyu
Comment options

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
Labels
Product Feedback Share your thoughts and suggestions on GitHub features and improvements
4 participants