Fix scheduled pipeline tests to pull branch name from project
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
This MR updates the ref
in schedule pipeline tests to pull from project.DefaultBranch
instead of use a hard-coded value. In GitLab 17.0, creating a scheduled pipeline now fails if the ref doesn't exist (whereas before it would succeed), and this was the cleanest way to ensure the ref would always exist.
Edited by 🤖 GitLab Bot 🤖