Mirroring should not count as contribution
Summary
Automated updates to an owned, but only mirrored, repository count into contributions that are displayed on a user's profile page. Also, in the list of a user's contributions on that page, it looks as if that user had made all those commits, when they have not.
Steps to reproduce
Make a fork of some project, then set it to mirror the original project. Now wait to see your number of contributions grow, even when you're not doing anything.
Example Project
Just look at my profile here to see the effects. You can easily see when I set up the mirrored repo.
What is the current bug behavior?
Not only user-triggered activity, but also automatic activity, is counted.
What is the expected correct behavior?
Only my own activity is counted. The 'user' who is displayed as the one that 'pushes' to my mirrored repository should be either the original author, or some 'bot' or 'CI' user.
Relevant logs and/or screenshots
none
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Not applicable.
Results of GitLab application Check
Not applicable.
Possible fixes
Sorry, no idea how a fix would need to look in code.