scorecard icon indicating copy to clipboard operation
scorecard copied to clipboard

Improve Score Reporting: Branch-Protection check fails with -1

Open azeemshaikh38 opened this issue 3 years ago • 0 comments

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.

azeemshaikh38 avatar Aug 17 '22 01:08 azeemshaikh38