Can't push to repo - does not follow the pattern

Problem to solve

When I try to git push code from my local repo, I get the following error message:

remote: GitLab: Committer's email 'duncan@ForthDev.forthdev.virtualbox.org' does not follow the pattern 'thedunkster'
To https://gitlab.com/demos3542512/ld.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://gitlab.com/demos3542512/ld.git'

Steps to reproduce

Create demo account
git clone the repo to a local machine
Make some changes to the repo, commit and push

Also, I tried to create a Maven Build pipeline using the pipeline editor, but when I tried to commit changes I get the same error.

Versions

Please select whether options apply, and add the version information.

Versions