Close issue command
This responder replies to a specific command closing the issue and possibly adding some labels. Allows labeling.
Listens to
@botname <command>
For example, if you configure the command to be reject, it would respond to:
@botname reject
Settings key
close_issue_command
Params
- command:
The command this responder will listen to.
- description:
Optional String to show when the help command is invoked (if the responder is not hidden).
Examples
Simplest use case:
Just close the issue.
...
responders:
close_issue_command:
command: reject
...
Close issue, add labels, restrict access to editors:
...
responders:
close_issue_command:
only: editors
command: reject
add_labels:
- rejected
...