Merged
Conversation
- Adds astral-sh/setup-uv to the org-wide allow list; - Rationale, alternatives, and security assessment are included in the PR body.
Member
|
Please note that the tooling team is making use of this in one of our sample workflows here: https://github.com/apache/tooling-asf-example/blob/main/.github/workflows/build-dists.yaml#L44-L45 |
astral-sh/setup-uvastral-sh/setup-uv
Signed-off-by: Junru Shao <junrushao@apache.org>
Member
Author
|
@raboof Thanks for responding to the request! I've updated the PR accordingly and please review again. |
raboof
approved these changes
Sep 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Request for adding a new GitHub Action to the allow list
Overview
Add
astral-sh/setup-uv, the official action to install and cache the uv Python package/project manager, to the org-wide allow list. uv provides fast, reproducible Python environment management, lockfiles, and a pip-compatible interface and can also install Python itself; the action installs uv on the runner and (optionally) persists uv’s cache to speed up subsequent runs. This is broadly useful for ASF projects with Python components (builds, tests, docs).Name of action:
astral-sh/setup-uvURL of action: https://github.com/astral-sh/setup-uv
Version to pin to (hash only):
b75a909f75acd358c2196fb9a5f1299a9a8868a4Permissions
The action downloads uv release artifacts from the
astral-sh/uvGitHub Releases API and adds the binary toPATH. No repository write operations are performed by the action itself.Related Actions
actions/setup-python(already allowed viaactions/*) installs Python versions and integrates with runner caches.astral-sh/setup-uvis complementary: it installs uv (and uv can then install Python and manage environments), adds optional uv cache persistence, and supports lockfile-driven workflows for determinism and speed.Checklist
You should be able to check most of these boxes for an action to be considered for review.
Please check all boxes that currently apply:
test)