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.
@botname remove editor
In the body of the issue the editor should be enclosed in HTML comments.
...
<!--editor--> @sarah_m_g <!--end-editor-->
...
remove_editor
:no_editor_text: The text that will go in the editor place to state there's no one assigned. The default value is **Pending**.
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
...
Initial state:
Invocation:
Final state: