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
Allow manual selection between sources for the same package #336
Comments
This would be great to have for rstudio/shinycoreci testing. MotivationBy using URL installations, we would be able to keep GITHUB_PAT usage to a minimum. (I am ok with the slower installation speeds for the advantage of minimal GITHUB_PAT usage.) Currently, I get [valid] errors like:
It would be great to set |
@schloerke you can specify a read only, ephemeral PAT, though, no? If this is for GH actions. |
Do you have any docs on this? Correct, I'm using GHA. Currently, I'm hitting my API limit within the hour using the standard |
This is how you restrict the permissions for the temporary token: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions AFAIR the rate limit for the automatic token is 1000 requests per hour per repo, which is usually more than enough. But if you hit it, you can use a read-only token for a dummy user, to get 5000 requests per hour. |
Ah! Turning on the read only would be a good idea to do regardless of the solution. Thank you!
I like the idea for a dummy user if I run into constant trouble. So far it is only been a few times. Thanks! |
I thought that the limit of the automatic token was per repo,no? |
Correct! Sorry, poor wording on my part. (The single repo) Example of Rate Limit being reached. This situation would probably be fixed with a dummy account's PAT being used. |
E.g. if we want
user1/repo1
, but one of our dependencies wantsuser2/repo2
, we should have a way to forceuser1/repo1
. A?force
parameter could work:The text was updated successfully, but these errors were encountered: