Delete merged branch

No more manually deleting merged branches, this lovely app does it for you.
Screenshot of Delete merged branch app

Repository

svanboxel/delete-merged-branch

Authors

svanboxel

Updated

February 16, 2024

Used By

chrisbsmith xg-wang Hongbo-Miao torg-codex quinnwinters finetimi katya-pp liberedu pcjs156 LionStore

Delete merged branch

A GitHub app that automatically deletes a branch after it's merged. That's it, enjoy!

Application logic

Only PRs that actually get approved and merged will be automatically flagged for deletion. The usual flow will be as follows:

  1. Author opens a PR from a feature branch.
  2. PR gets reviewed and CI runs.
  3. Reviewer or author merges the PR.
  4. The feature branch gets deleted by this app.

The following flow doesn't result in deletion of the branch:

  1. Author opens a PR from a feature branch.
  2. PR gets reviewed and CI runs.
  3. CI fails/PR gets declined.
  4. Reviewer or author decides to close the PR without merging it.

Installation

Want to try it out? You can install the app directly from this page.

See readme.md if you would like to run your own instance of this app.

Feedback?

Please open an issue

Get occasional updates on new apps & features.

Star

with by the Probot community

Code licensed ISC Docs licensed CC-BY-4.0