boyney123/auto-comment

How to debug?

Closed this issue · 1 comments

Hi,

I'm trying to make auto-comment post the /review comment each time a new PR is opened. This is to make https://github.com/imsky/pull-review assign reviewers automatically (it already works ok if adding the comment manually). I installed auto-comment on the organization level (have access to all repos), then added .github/auto-comment.yml to the repo with just one line:

pullRequestOpened: '/review'

Created the PR but nothing happens. How can I troubleshoot the issue?

Well, turns out the config should be already in the repo at the moment of the PR creation, i.e. it can't be in the PR itself. Now it works!