Skip to main content

comparison_branches

Function comparison_branches 

Source
pub fn comparison_branches() -> Vec<String>
Expand description

The branches a version comparison fetches when they are missing: VERCTL_DEFAULT_BRANCH, then the event’s repository default branch, then GITHUB_BASE_REF. The default branch is fetched even when the pull request targets another branch, so the released baseline reads the same branch a full clone would. None is set outside Actions, so a local run fetches nothing.