scorecard
scorecard copied to clipboard
Improve Score Reporting: Branch-Protection check fails with -1
Branch-Protection fails with -1 for multiple reasons:
- lookup of a branch name that no more exists on the repository
- unable to locate the branch even though it existed (maybe similar to #1320)
- the main branch had a different name than the “main”
None of these seem reasonable cases to be returning -1. Need to fix this.