probot-app-delete-merged-branch

1.0.1 • Public • Published

probot-app-delete-merged-branch

Forked from https://github.com/SvanBoxel/delete-merged-branch

A GitHub app built with Probot that automatically deletes a branch after it's merged.

Running it locally

  1. First, follow these instructions for making your own GitHub app. Give your app the following permissions:

    • Repository contents: Read & Write.
    • Pull requests: Read
  2. Then, clone the repo:

git clone git@github.com:uber-workflow/probot-app-delete-merged-branch.git
  1. Copy .env.example to .env and set the right environment variables as here

  2. Now, install app dependencies and run it:

# Install dependencies 
npm install
 
# Run the bot 
npm start

How it works

This GitHub app listens to the pull_request.closed webhook. If a pull request is closed and the connected branch is merged, it will delete the branch.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    4
    • latest
  • 1.0.2-0
    0
    • prerelease

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2-0
    0
  • 1.0.1
    4

Package Sidebar

Install

npm i probot-app-delete-merged-branch

Weekly Downloads

4

Version

1.0.1

License

ISC

Unpacked Size

269 kB

Total Files

10

Last publish

Collaborators

  • fusion-ci