Skip to content

Fix the writing of invalid environment refs

Stan Hu requested to merge sh-fix-environment-write-ref into master

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 (closed)

Merge request reports