• Stan Hu's avatar
    Fix the writing of invalid environment refs · 3bff85a4
    Stan Hu authored
    Environment names that contained a space would cause an error
    in GitLab 10.1 because a new guard clause was introduced in
    Repository#write_ref to prevent such references from
    existing. Use the slug instead to ensure that the name
    is valid.
    
    Closes #39182
    3bff85a4
environment.rb 6.3 KB