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

feat: add on_base inclusion #226

Merged
merged 1 commit into from
Jan 30, 2022
Merged

Conversation

seeplusplus
Copy link
Contributor

Resolves #225.

  • If no on_base is specified in delete-merged-branch-config.yml then everything operates normally (i.e., we delete branches as long as they are not explicitly excluded).
  • If base is in on_base and head is not in exclude then we delete head.
  • If base is in on_base and head is in exclude we do not delete head.
  • If on_base is non-empty and base is not included, we do not delete head.

@SvanBoxel SvanBoxel merged commit b77e873 into SvanBoxel:main Jan 30, 2022
@cnb-philip
Copy link

Is this going to be released at any point in the near future? We need this feature before we can use.

@SvanBoxel
Copy link
Owner

Thanks for the reminder. I just created a new release: https://github.com/SvanBoxel/delete-merged-branch/releases/tag/1.4.2

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

Successfully merging this pull request may close these issues.

Only delete on certain base branches
3 participants