monasca / pr-bot

Automatic version checker bot
Apache License 2.0
6 stars 1 forks source link

Repository hooks #19

Open timothyb89 opened 6 years ago

timothyb89 commented 6 years ago

(extracted from https://github.com/monasca/pr-bot/issues/15#issuecomment-325538623)

Since the PR bot is handling GitHub hooks anyway, it could be a convenient way to add repo-specific event handlers. In addition to repository and module specific configuration (#15), we could also let users drop in .js scripts:

Some thoughts:

We may want to execute these hooks in a sandboxed context, like vm2.