don't require auth token for linting
LennyPenny opened this issue · 5 comments
LennyPenny commented
would be cool if linting wouldn't require an auth token so it can run in PRs from people not part of the repo
groovecoder commented
Bump. Just hit this myself too.
groovecoder commented
Furthermore, when I tried to create a personal access token with public_repo
permission, and provided it as the GITHUB_TOKEN
env value, I got this error during the job run:
Error: HttpError: You must authenticate via a GitHub App.
kewisch commented
The action uses GITHUB_TOKEN
from the env. What you could try is intentionally making it empty (e.g. setting an empty string via env
in the action). I'm using the token to create check runs, so it will show one of those nice annotations. I'm not really sure why github doesn't allow this without auth.
Is this still an issue?
groovecoder commented
I'm trying something else now, so this isn't an issue for me anymore.