Steve High (NTWRK)
02/16/2023, 5:52 PMcerbos-setup
github action. I am defining my step as:
- name: Get Cerbos CLI
uses: cerbos/cerbos-setup-action@v1
with:
version: latest
github_token: ${{secrets.INTERNAL_TOKEN}}
Where ${{secrets.INTERNAL_TOKEN}}
is a valid github api token (used in other steps without issue).
Occasionally with this action, I get the following error:
HttpError: API rate limit exceeded for 52.190.17.193. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
at /home/runner/work/_actions/cerbos/cerbos-setup-action/v1/webpack:/cerbos-setup-action/node_modules/@octokit/request/dist-node/index.js:86:1
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I went so far as recreated a new token and storing it in github secrets..the issue still happens a few times a day. Is the action using the provided github token?oguzhan
02/16/2023, 5:56 PMSteve High (NTWRK)
02/16/2023, 5:57 PMoguzhan
02/16/2023, 6:43 PMcerbos-setup-action
to see if the following line is there?
github_token is unavailable. Stricter rate limiting will be applied by GitHub.
Steve High (NTWRK)
02/16/2023, 6:44 PMoguzhan
02/16/2023, 7:01 PMSteve High (NTWRK)
02/16/2023, 7:01 PMoguzhan
02/17/2023, 3:19 PM