Rate limit token does not work on GHE
Description:
Using the token parameter for the Github Action, the token is not used.
Action version: v4
Platform:
- [x] Ubuntu
Runner type:
- [x] Self-hosted
Tools version: 3.x
Repro steps:
Add a Github Action workflow like this to your Github Enterprise repository:
- name: Install Python
uses: actions/setup-python@v4
with:
token: ${{ secrets.DOTCOM_TOKEN }}
python-version: '3.x'
Then also add https://github.com/actions/setup-python/pull/510#discussion_r982394709 using the same token variable.
We can tell by the rate-limit response that the token has not been used.
Expected behavior:
Expect action to use token.
Actual behavior:
API rate limit exceeded for <ip>
We confirmed using the rate limit query that the rate limit quotas have not changed, and thus the token has not been used by the action.
Hello @mvs5465 Thank you for your report. We'll investigate the issue and get back to you.
Hi @e-korolevskii, are there any updates on this issue? I am facing the exact same issue in my GitHub Enterprise repository.
Hello everyone. Could you please take a look at this issue because I think they're related.
Hi @dmitry-shibanov, looking at the link you provided, not sure if they are related because the error I get is Error: API rate limit exceeded for x. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.). This is while passing in a GitHub.com Token.
Hello @mvs5465 👋, Could you kindly verify if the issue related to the rate limit has been resolved and confirm that no other issues have emerged while using the setup-actions-demo/setup-python@main branch.
Hello @mvs5465👋, Just a gentle reminder, Could you kindly verify if the issue related to the rate limit has been resolved and confirm that no other issues have emerged while using the setup-actions-demo/setup-python@main branch.