You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running against a repo in GHES 3.8 oder 3.9 we get this output:
| ? | Dependency-Update-Tool | internal error: Search.Code: GET | https://github.com/ossf/scorecard/blob/49c0eed3a423f00c872b5c3c9f1bbca9e8aae799/docs/checks.md#dependency-update-tool |
| | | https://github.****.com/api/v3/search/commits?per_page=100&q=repo%***%2F***+author%3Adependabot%5Bbot%5D: | |
| | | 422 Validation Failed [{Resource:Search Field:q Code:invalid Message:Search text is required when searching commits. Searches that use | |
| | | qualifiers only are not allowed. Were you searching for something else?}]
Internal reponames and urls have been redacted with ***
Reproduction steps
Steps to reproduce the behavior:
Run scorecard against GHES
Expected behavior
The Dependency-Update-Tool check should work correctly.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I think a 422 on Search.Code on GitHub Enterprise is something we might want to have special error handling around so that we could still check for other Dependency Update Tools than dependabot. It feels more difficult to special case specific GitHub Enterprise versions with new search queries.
I think a 422 on Search.Code on GitHub Enterprise is something we might want to have special error handling around so that we could still check for other Dependency Update Tools than dependabot. It feels more difficult to special case specific GitHub Enterprise versions with new search queries.
Hmm, we could detect the 422 and try falling back to the 30 commits we grab via ListCommits elsewhere in scorecard?
Describe the bug
Running against a repo in GHES 3.8 oder 3.9 we get this output:
Internal reponames and urls have been redacted with ***
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
The Dependency-Update-Tool check should work correctly.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: