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 #59

Closed carolynvs closed 2 years ago

carolynvs 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 commented 2 years ago

Enjoy your break! 🏖️