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

[doc request] Now configuration #61

Closed enriquemanuel closed 5 years ago

enriquemanuel commented 5 years ago

Hi, I'm a big fan of your probot bot and currently using it in several of my work projects, and I'm trying to actually build one for my own, and was wondering if you could share the now.json file.

In other words, I'm trying to build my own but a bit more custom.

Here is the use case. We currently have a Jenkins instance that is an internal application but we store the code in Github, so ideally the probot will listen to any pull_request.* and then publish that information to a sns topic which then Lambda will listen to that SNS and then send it to the Jenkins API with the right keys

Yes, its a bit convoluted but its a regular use case that I have seen in many places, and now usually most people just do git pulls every X minutes instead of having a "listen mechanism".

I have part of it done, but your use of now made it for me easier that it can be configured per client since there is the configuration of the sns topic / keys that are specific to each client

Finalizing, can you share the now.json file? From what I can see travis will kind of create it for you , but I might be wrong.

Any help is appreciated!