Closed
Description
Description
The GitHub Create/Update Repository APIs have a delete_branch_on_merge
property which is not currently supported by the New-GitHubRepository
and Update-GitHubRepository
functions. This allows automatically deleting of head branches when pull requests are merged within the repo.
Proposal
Add a DeleteBranchOnMerge
switch parameter to both functions to add support for this feature.
API Detail
delete_branch_on_merge | boolean | Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. Default: `false`.