Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github check for private repo on Travis CI fails due to 403 Forbidden error #141

Closed
cupakromer opened this issue Jun 5, 2018 · 3 comments

Comments

@cupakromer
Copy link

Running the latest 0.9.9 release through the new Github app integration check. However, reviewdog fails with the following:

reviewdog: status=400: fail to parse diff: GET https://api.github.com/repos/{owner}/{repo}/pulls/123:
403 Resource not accessible by integration []

The command I'm running is:

$ ./bin/reviewdog -version
0.9.9

$ ./bin/rubocop --config .rubocop.yml --rails | ./bin/reviewdog -f=rubocop -reporter=github-pr-check
reviewdog: status=400: fail to parse diff: GET https://api.github.com/repos/{owner}/{repo}/pulls/123:
403 Resource not accessible by integration []

I've tried this both with the REVIEWDOG_TOKEN set and unset. Same error both times.

If it helps, here's what Github shows the app config as:

image

@haya14busa
Copy link
Member

Thanks for the report. it's dup of #140.
it's not related with REVIEWDOG_TOKEN or Travis CI but it might be a problem of GitHub API and reviewdog app persmissin.

@haya14busa
Copy link
Member

@cupakromer

It was the problem of permission setting. I updated reviewdog app permission as written in
#140 (comment)

Can you accept the new permission and try it again? Thanks!

@cupakromer
Copy link
Author

👍 works great now. 💙 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants