danger icon indicating copy to clipboard operation
danger copied to clipboard

Authentication broken w/ Octokit 4.22

Open BobbyMcWho opened this issue 3 years ago • 0 comments

Report

What did you do?

Run DANGER_GITHUB_API_TOKEN=[redacted] danger local

What did you expect to happen?

Expected danger to run against last PR

What happened instead?

Local repository was not found on GitHub. If you're trying to test a private repository please provide a valid API token through DANGER_GITHUB_API_TOKEN environment variable.

I ended up resolving this by installing octokit 4.21 See https://github.com/octokit/octokit.rb/issues/1392

BobbyMcWho avatar Apr 20 '22 14:04 BobbyMcWho