danger / danger/swift

Enterprise Github Account

Open
#217 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.1k
Forks
152
Avg merge
9h 54m
Merged PRs (30d)
2

Description

I am trying to run danger on a repo hosted on Github Enterprise account, i got the following error description:

i've exported the following ahead:
export DANGER_GITHUB_API_TOKEN='TOKEN'
export DANGER_GITHUB_HOST=GITHUB ENTERPRISE HOST
export DANGER_GITHUB_API_BASE_URL=GITHUB ENTERPRISE API BASE URL

```
Error: TypeError: Cannot read property 'repo' of undefined
at APIMetadataForPR (/snapshot/danger-js/distribution/platforms/GitHub.js:64:27)
at Object. (/snapshot/danger-js/distribution/platforms/GitHub.js:106:34)
at step (/snapshot/danger-js/distribution/platforms/GitHub.js:43:23)
at Object.f [as next] (/snapshot/danger-js/distribution/platforms/GitHub.js:24:53)
at fulfilled (/snapshot/danger-js/distribution/platforms/GitHub.js:15:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
```

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.