SvanBoxel / delete-merged-branch

No more manually deleting merged branches, this lovely app does it for you.
https://github.com/apps/delete-merged-branch/
ISC License
323 stars 55 forks source link

Use probot-config instead of context.config #52

Closed KELiON closed 5 years ago

KELiON commented 5 years ago

Looks like context.config is not the same as probot-config, because it doesn't allow organizations to have default config for all repositories.

We have a file in .github repository with this content:

exclude: 
  - master
  - production

but delete branch bot removes master branch after it is merged to production branch (it is a way that we do releases in most of our repos).

So, in this PR I replaced context.config to probot-config so it works with default organization config

SvanBoxel commented 5 years ago

I'm still charmed by your PR @KELiON . Do you have time to look at the tests?

Thanks again!

SvanBoxel commented 5 years ago

Closing as stale