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

How do I make this action work for Forked PR #6

Open
venkuppu-chn opened this issue Jun 18, 2021 · 2 comments
Open

How do I make this action work for Forked PR #6

venkuppu-chn opened this issue Jun 18, 2021 · 2 comments

Comments

@venkuppu-chn
Copy link

I'm not sure whether this is channel to ask this question.
I'm planning to setup the alex with reviewdog on the PR from forked repository. I read about the Github limitations to access the reviewdog. Could you please help me to post alex comments on PR using reviewdog.

Error Log:
reviewdog: This is Pull-Request from forked repository.
GitHub token doesn't have write permission of Review API, so reviewdog will
report results via logging command [1] and create annotations similar to
github-pr-check reporter as a fallback.
[1]: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/development-tools-for-github-actions#logging-commands

@shogo82148
Copy link
Contributor

reviewdog can't comment to the PR from forked repository.
It is a limitation of GitHub Actions.

However, reviewdog creates annotations as a fallback.
Here is an example: https://github.com/reviewdog/reviewdog/pull/965/files
image

@venkuppu-chn
Copy link
Author

venkuppu-chn commented Jun 21, 2021

@shogo82148 Thanks..!
I see that reviewdog/reviewdog#888 seems to support posting review comments. But, this is not landed to v0.11.0. Please correct me if I'm wrong.

How do we trigger this action against reviewdog's nightly build? Would it be apt to update the Dockerfile as mentioned below.
RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/nightly/master/install.sh| sh -s -- -b /usr/local/bin/

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