that is used in GitHubSCMSource is too restrictive. It doesn't allow one or two character names.
The check is for example used in PushGHEventSubscriber and silently prevents the triggering of Multibranch jobs.
A new regex should allow GitHub usernames like:
And disallow usernames like:
Replace the existing regex with the following: