Fix the project service account detection in Event
What does this MR do and why?
The detection of service accounts should be based on the resource author instead of the event user.
Also, keep Event#description
for Event
(including IssueEvent
and MergeRequestEvent
), and NoteEvent#new_comment
for NoteEvent
since this naming is clearer.
Related to #874 (comment 822724043).
Edited by Rémy Coutable