Open zakhenry opened 8 years ago
That's a great idea, I'll try to give it a shot.
I'd like to also comment on the PR in other situations, like notifying of code coverage changes, notifying of missing #CHANGELOG
section, etc.
Sadly, I haven't had much success with this, not because of the code involved, but because of the permissions. If you only have PRs from within your repo (branch to branch) it could probably work. We have it working fine in our private bitbucket, but the permissions needed for posting a comment are greater than the permissions needed to simply read the PR description, and since we can't encrypt secure tokens when building a PR build from outside the repo, I haven't been able to figure out how to let pr-bumper
post comments w/o exposing credentials one wouldn't want to expose.
It would be helpful for those unfamiliar with pr-bumper if it could comment on pull requests when pr-bumper check fails. Bonus if the comment could be customised in
.github/PR_BUMPER_COMMENT_TEMPLATE.md
https://github.com/blog/2111-issue-and-pull-request-templates