GeezerVison is showing github.com — Rate limit token does not work on GHE · Issue #638 · actions/setup-python
Rate limit token does not work on GHE #638DescriptionDescription:
Using the token parameter for the Github Action, the token is not used.
Action version:
v4
Platform:
Runner type:
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 #510 (comment) 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. Reacted by jay0129, jackwong-s3772149, Florian Fuß, Andreas Engl and fxmarty-amd Activitye-korolevskii commented on Mar 29, 2023 Hello @mvs5465
Thank you for your report. We'll investigate the issue and get back to you. chebong-aus commented on Jul 10, 2023 Hi @e-korolevskii, are there any updates on this issue? I am facing the exact same issue in my GitHub Enterprise repository. dmitry-shibanov commented on Jul 10, 2023 Hello everyone. Could you please take a look at this issue because I think they're related. chebong-aus commented on Jul 10, 2023 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. v-priya-kinthali commented on Feb 14, 2024 v-priya-kinthali commented on Mar 6, 2024 v-priya-kinthali commented on Oct 21, 2024 Hello @mvs5465 👋,
As part of the latest updates, the potential improvement to leverage the raw API for retrieving version-manifest has been implemented and released in v5.1.0. This new approach should mitigate the rate limit exhaustion without requiring an additional GitHub token.
Please update to the latest version and let us know if you encounter any further issues. As this update resolves the reported problem, we will close this issue.
Thank you!
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|