Closed kaelig closed 8 years ago
Hi @kaelig can you give a link to the pr you opened. here are some thoughts:
Another thought. I believe the bot will always return an empty response to github's webhook. It will simply make a second request to the github api to make the comment
@zekenie the link to the PR is in my original post, can you access it? This is on a public repo, and lines did change.
Another bot (CLA Bot) I've setup had everything working but failed to comment. Do you know what could cause that?
Note that the bot has admin access to the repository. Does Two-factor authentication need to be activated on the account for commenting to work?
Hmm, very strange. We might need to add some logging code to see what's going on. I think the github token for the bot account just needs to be able to comment on repos.
Ok I think I may have found the issue.
The algorithm is comparing the PR to master. But our default branches have different names…
I'll be fixing that locally and if it works I'll do a PR.
You can change teh default branch from github as well
Thank you so much for this great tool.
I've deployed the bot at this address: https://mention-bot-salesforce-ux.herokuapp.com/ The setup was made using the "Deploy to Heroku" button and I followed the steps detailed in the README.
I've also tried to make it work locally and I get the same issue: When a PR is opened, the bot returns an empty response.
Here is the Pull Request:
https://github.com/salesforce-ux/design-system/pull/115/files
And the log, in case it helps:
Let me know if you need additional information or if I can help in any ways.