This responder defines a custom command to add and/or remove labels to the issue when invoked.
For example, if you configure the command to be review successful, it would respond to:
@botname review successful
The command this responder will listen to.
<Array> A list of text labels to add to the issue.
<Array> A list of text labels to remove from the labels of the issue.
Simplest use case:
Just add a label.
... responders: label_command: command: review successful add_labels: - recommend publication ...
Multiple instances of the responder, restricted to editors, adding and removing labels:
... responders: label_command: - review_ok: only: editors command: review successful add_labels: - reviewed - recommend publication - pending publication remove_labels: - ongoing - pending review - review_nok: only: editors command: review failed add_labels: - recommend rejection ...