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
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!
The text was updated successfully, but these errors were encountered:
Unfortunately, no. This is from a new Peril setup I worked on right before creating this ticket just yesterday. I followed the setup_for_org instructions.
For context, this was my second attempt at solving this in the last month or so. All diffs for another peril setup are returning null as well.
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 tonull
, unless I setDANGER_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!
The text was updated successfully, but these errors were encountered: