Skip to content

Suggestion: Reply with comment with the slash command result #53

@carolynvs

Description

@carolynvs

As I was implementing OWNERS file support, I noticed that from the commenter's perspective it's not always clear when the command failed, and where to see what happened. Other github bots will usually reply back when it can't execute the command or tells you what it did on your behalf.

What if we had the bot post back if the commenter isn't authorized to run that command, or the result of what the action did (e.g. added a label)? I'm not sure if chattiness is a problem but it seems like this would help users quickly know how their command worked out.

carolynvs: /lgtm
prow: Cannot apply the lgtm label because @carolynvs is not in the reviewers role in the OWNERS file

carolynvs: /lgtm
prow: Added lgtm label

subsequent /lgtm commands won't print anything because the label is already applied

carolynvs: /lgtm cancel
prow: Removed lgtm label

carolynvs: /approve
prow: The pull request was approved by @carolynvs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions