Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Bitbucket Server "auto delete branch" is set to true, delete the branch (and PR) is already existing #1325

Open
dcoraboeuf opened this issue Jul 18, 2024 · 0 comments

Comments

@dcoraboeuf
Copy link
Contributor

dcoraboeuf commented Jul 18, 2024

If the branch already exists:

  • get existing and open pull requests
  • decline all pull requests
  • delete the branch

Extend this behaviour to all SCMs, based on the SCM interface returning if this is to be enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant