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
* feat: add X-Tokenless-PR header
If you look at codecov/codecov-api#304 you'll notice
that it expects 2 headers - `X-Tokenless` and `X-Tokenless-PR`.
We were not yet sending `X-Tokenless-PR` (because I only realized we'd need
it after doing the API side of things).
These changes add that header to tokenless requests.
* improve coverage
* fix: exception if PR is from same repo
If a PR exists and base and head are from the same repo it seems that
the response["head"]["repo"] is set to None, causing exception when
the code runs.
This fixes that bug so that the CLI can fail gracefully (if a token
is not provided)
0 commit comments