Push rule 'Reject unverified users' is not working
Summary
Despite enabling the push rule 'Reject unverified users', we are able to push commmits as an unverified user.
Steps to reproduce
- Enable push rule 'Reject unverified users' in Settings - Repository - Push rules
- Commit a file with an unverified email address:
git commit -m 'Committed under unverified email address despite push rule' --author "Unverified <unverified@unverified.com>"
git push
- Check whether commit has really been pushed:
- Check email address of committer:
What is the current bug behavior?
The push gets accepted while an unverified email address is being used in the commit.
What is the expected correct behavior?
The push gets rejected due to the push rule.
Output of checks
Results of GitLab environment info
Gitlab version: 13.11.3-ee


