Skip to content

Correctly check author ID for detecting wider community resources

We don't have access to the resource's author username, only to their
ID. This commit makes use of this ID to check whether the event is for a
resource authored by a wider community contributor.

Before this change, we use the event's username to perform this check,
but this could lead to inaccurate result for some events, e.g. merge
event of a wider community contribution by a GitLab team member wouldn't
be detected as a wider community MR.

Closes #108 (closed), #111 (closed).

Edited by Rémy Coutable

Merge request reports