Add/Remove assignee

This responder adds and removes users to the assignees list of the issue. Allows labeling.

Listens to

@botname add assignee: @username
@botname remove assignee: @username

Requirements

Only users that are collaborators in the target issue can be added as assignees. Otherwise the responder will reply with a not enough permissions message.

Settings key

add_remove_assignee

Examples

Simplest use case:

...
  responders:
    add_remove_assignee:
...

Hidden from commands list and restricted to editors:

...
  responders:
    add_remove_assignee:
      only: editors
      hidden: true
...

In action

../_images/add_remove_assignee.png