jpmcb / prow-github-actions

Slash commands, jobs, and chat-ops for Github actions inspired by Kubernetes Prow ⚓️
MIT License
93 stars 11 forks source link

Comment when /lgtm or /approve are unauthorized #58

Closed carolynvs-test closed 2 years ago

carolynvs-test commented 2 years ago

When someone tries to use /lgtm or /approve, but they are not authorized to perform that action, log the error but also comment back on the pull request so that they know that their slash command didn't work.

Screenshot below shows what the comments look like when you aren't in the OWNERS file, or if there isn't an OWNERS file, for /lgtm and /approve.

Screen Shot 2022-05-14 at 9 10 59 PM
carolynvs-test commented 2 years ago

Oops submitted this with my test account I was using to validate the action was working. I'll close and resubmit.