Jon Gabrielson commented on issue #57713 at GitLab.org / GitLab FOSS

Jon Gabrielson
2019-03-07T17:54:23Z

I also was stumped by the lack of support for "branch: $CI_COMMIT_REF_NAME" until I found this ticket. It should at least give an error instead of getting stuck in "pending" forever for an invalid or missing branch.