make gitlab_ci able to skip refs from build