Simple bot that automatically rewards your colleagues Bonusly points for reviewing your pull requests.
Every 15 minutes, the bot scans your open pull requests, identifies recent reviewers, locates their Bonusly profiles, and automatically sends them Bonusly points on your behalf in a single post.
-
You will need to generate 2 Access tokens and set them in your environment variables.
-
Run
main.go
-
I have reviewed someone's PR, but didn't get any points
- Your GitHub email and Bonusly email is not the same.
- Your email address is private. The bot will not be able to find your email in order to find your Bonusly account.
- If your email address is private, the bot will attempt to find your email from any commits pushed with your GitHub account.
-
My email is private and I have no commits, what now?
- In that case, the bot will attempt to find your email using Bonusly autocomplete request.
- Note: This method is unreliable and your Bonusly points may be awarded to the wrong person with a similar name.
-
I do not have a name in my GitHub account / does not match with Bonusly.
- Nothing to do here 🤷. If you have a solution, feel free to open a PR though.
-
Add more FAQs later