-
Notifications
You must be signed in to change notification settings - Fork 1
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
Action fails on PRs that target another repo #4
Comments
Ah, this is a problem... The The issue, as far as I can tell, is because this PR was opened from a forked repo. Apparently, Github Actions tiggered from a forked repo have read-only access to the upstream repo. The token used to run the action belongs to I've never tried use jekyll-diff-action from a forked repo, so this is the first I'm seeing of the issue. It looks like this isn't the only project struggling with this limitation though, it's also affecting danger-js and Lukasz Gornicki. There's an active discussion about the issue on this thread, with a Github staff member confirmed they're investigating and working on it, so hopefully a long term fix is on the way. A work around for now would be to only use the |
Thanks! I should know that b/c I already run into it before.
That works for me. |
For some reason I get a 403 when using this GH action. See
https://github.com/oceanhackweek/oceanhackweek.github.io/pull/51/checks?check_run_id=525775319#step:4:307
I'm not sure what I'm doing wrong. I thought that
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
was enough. Am I missing something?The text was updated successfully, but these errors were encountered: