danger / danger/peril

danger.git.diffForFile only seems to work when DANGER_GITHUB_API_TOKEN is set

Open
#454 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
460
Forks
55
PR merge metrics
No merged PRs in 30d

Description

Hi! I really appreciate the time you've invested into danger and peril. It has been extremely valuable to me and many teams I've been on.

When I try to run `danger.git.diffForFile` in a PR, the diff object is resolved to `null`, unless I set `DANGER_GITHUB_API_TOKEN` with a personal access token in heroku. Is this by design, or is there some config/setup that I possibly missed so that peril has access to retrieve a diff for a file in a PR?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.