Move rescue clause to branch creation method
In https://gitlab.com/gitlab-org/gitlab/-/merge_requests/37082 we consolidated the `trigger-build-docs` script into the `trigger-build` one. A new `cancel_latest_pipeline!` method was created, but the rescue clause of the branch creation was misplaced. It should actually be a part of `create_remote_branch!` instead.
Showing
Please register or sign in to comment