Remove editor

This responder removes the assigned editor from the body of the issue (the one that can be assigned using the Assign Editor responder). The user will also be removed from the issue’s assignees. Allows labeling.

Listens to

@botname remove editor

Requirements

In the body of the issue the editor should be enclosed in HTML comments.

...
<!--editor--> @sarah_m_g <!--end-editor-->
...

Settings key

remove_editor

Params

no_editor_text

The text that will go in the editor place to state there’s no one assigned. The default value is Pending.

Examples

Simplest use case:

...
  responders:
    remove_editor:
...

Action restricted to editors:

...
  teams:
    editors: 1111111
...
  responders:
    remove_editor:
      only: editors
...

Restrict access to editors, use custom text when there’s not editor:

...
  responders:
    remove_editor:
      only: editors
      no_editor_text: To be decided
...

In action

  • Initial state:

Remove editor responder in action: Before

  • Invocation:

Remove editor responder in action: Invocation

  • Final state:

Remove editor responder in action: After