29

I'm trying to add a project from GitHub to my Developer Story using the GH import tool. This has worked before - one of the projects already on my story was imported with this tool. However, this time it's telling me that GitHub usernames can't start or end with a hyphen:

enter image description here

As you can see... mine does.

3
  • 11
    You broke GitHub and now you complain here ... ;)
    – rene
    Nov 13, 2017 at 15:24
  • 3
    Looks like GitHub used to allow usernames ending with a hyphen but now doesn't anymore.
    – Keiwan
    Nov 13, 2017 at 15:53
  • 11
    So instead of using the same restrictions as GitHub currently uses, SO should simply check whether the username exists (e.g. check that https://api.github.com/users/:username returns a non-error response).
    – user247702
    Nov 13, 2017 at 15:57

1 Answer 1

10

This has been fixed and should be up with our next prod build. There was no reason for us to run GitHub user name validations on our end, so we're no longer doing that. Thanks for your report

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .