Fix use notes instead of threads
What does this MR do and why?
Fixes the GitLab bot creating resolvable discussion threads instead of simple notes when thanking users for labeling merge requests. This prevents merge requests from being blocked by unresolved bot threads
Implementation details
-
Added
create_notemethod toGitlabRestService: Uses/notesendpoint instead of/discussionsto create simple comments -
Added
create_notewrapper toManageableConcern: Maintains same interface and error handling asstart_thread -
Updated
ManageMergeRequestController: Changedlabelaction to usecreate_noteinstead ofstart_thread
To Do
- Add tests
Closes #192 (closed)
Edited by Harshith