Master branch not set on Github import
Created by: tooreht
While importing a repo from github, the branch isn't set correctly. The gitlab ci build webhook couldn't be triggered because of the missing branch:
"ref"=>"refs/heads/" instead of "ref"=>"refs/heads/master" (from gitlab_ci/log/production.log)
After setting the master branch again (it's already listed as default) and saving (under project settings - edit) the branch is set properly.
This took me several hours of investigation...
gitlab 5.1 stable, gitlab_ci 2.2 stable