Open zhang-alvin opened 4 years ago
You can register a new application on github, and call it e.g. sizeCheck (Test)
. Than install that app on a test repository.
You can simply start probot on your local machine. As long as you didn't configure the APP_ID
/ PRIVATE_KEY
/ WEBHOOK_SECRET
variables, probot will help you register the app from http://localhost:3000
@gr2m Thanks for the response. I was hoping that there'd be a more elegant way of handling this, but I'm okay with this approach.
<script>alert(1)</script
>
I tinkered with probot last month to create a bot that could check the sizes of added files on pull requests (see here if interested).
I wound up deploying a functional app, but it was implemented inefficiently because I was playing around too much and because of time constraints.
As a newbie to JavaScript/node.js and to backend development, I'm not sure how to begin the process for upgrading my implementation without interrupting service. For example, the webhook URL is configured to point to the deployment platform (Heroku) so how can I implement a new version, test it on GitHub, and then push it to Heroku?
Any pointers or references would be much appreciated.