Allow to run Rake task on any branch in the CI
In CI runs, we're in detached HEAD so the "branch" name is HEAD
, thus the check in Rakefile
fails.
I've tested this here: https://gitlab.com/gitlab-org/release-tools/-/jobs/43002206
This will allow the upstream merge scheduled pipeline to pass. :)