Skip to content

1.58.0: Exit with error if default branch is not set in non pr workflows

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jan 00:36
· 32 commits to master since this release
2c9e17c

There are some cases where the default_branch is not available in the runner environment, This leads to no history of commits.
This change attempts to identify the default branch in this scenarios and error the user if the attempt fails and default_branch remains null