Delete Head Branch (Deprecated)
Delete pull request head branch. Deprecated in favor of GitHub's built-in "Automatically delete head branches" setting.
The action deletes a pull request’s head branch once the pull request is closed. Turn on Automatically delete head branches in your repository settings and drop the action from your rules.
Parameters
Section titled Parametersforce#If set to true, the branch will be deleted even if another pull request depends on the head branch. GitHub will therefore close the dependent pull requests.
Was this page helpful?
Thanks for your feedback!