How can I get the default branch name from inside a pipeline? Our default branch name changes with every release.
I would like to be able to diff against the default branch to decide what part of the test suite to run when a new branch is pushed into the repo and before a PR is issued.
I looked everywhere and could not find it. If it does not exist, it would be nice to make this available as a REPO variable accessible from inside the pipeline.