-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add support for custom download URL #88
Conversation
5d9c90f
to
56cf771
Compare
Hi and thank you for your PR. Can you please give a bit more information?
Thank you |
We run GHES and we would do something like this:
I don't know TypeScript, so, guessing through things in this PR. |
I still don't understand why this change is needed. If you want to download from your own source, why do you need this action instead of "curl-ing" your private url and add the matchers? |
I don't know what you mean ... fine, closed. |
I am under the impression that you think I don't care and don't want to implement your changes. To give you some insight in what I am considering:
|
I don't know much about this change that I'm trying to make here. What I'm getting from the security folks internally is something along the lines of "we don't want external dependencies like this" and what they're saying is "if
That's the idea.
I don't know.
I don't know what Octokit is.
No idea.
No idea. |
Your security folks probably want to shutdown down internet access for the runner and look into https://docs.github.com/en/enterprise-server@3.15/admin/managing-github-actions-for-your-enterprise/managing-access-to-actions-from-githubcom/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access#populating-the-tool-cache-for-a-self-hosted-runner That being said I am currently verifying where the action downloads the executable when running in a GHES context in astral-sh/setup-uv#268 (comment). When we learn more in this issue it might be that the change you propose here isn't even needed. I currently assume that it tries to hit a version of the |
We/they do this already.
Yeah, I think that's the idea. |
For my understanding: It is easier for your security team to host ruff executables where they can be downloaded by this action rather than distributing them to the toolcaches on the hosted runners? |
Yes, I believe that's what they'd prefer. |
Also, I have a workaround (I'm currently just running |
Thats also how I do it to make sure I am using the exact same config locally and on CI. Feel free to ping me if it turns out you do need this feature. |
Yeah, I do |
This would help folks with GHES, etc