Skip to content

[CI] Update astral-sh/setup-uv to allowed ref v8.2.0#624

Merged
cyx-6 merged 1 commit into
apache:mainfrom
cyx-6:update-setup-uv-ref
Jun 17, 2026
Merged

[CI] Update astral-sh/setup-uv to allowed ref v8.2.0#624
cyx-6 merged 1 commit into
apache:mainfrom
cyx-6:update-setup-uv-ref

Conversation

@cyx-6

@cyx-6 cyx-6 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Motivation

The ASF infrastructure-actions allowlist was updated and the previously pinned astral-sh/setup-uv ref was removed:

  • Removed: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 (v7.3.1)

Since this ref is no longer on the approved list, the action allowlist check will reject our workflows until it is bumped to a currently allowed ref.

Change

Bump all usages of astral-sh/setup-uv to the latest allowed ref:

  • New: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 (v8.2.0)

This is the newest ref currently on the allowlist and the only setup-uv entry without an expires_at, so it is the most durable choice. The v7.x allowed refs expire on 2026-06-27.

The change is a straightforward pin update — the workflows only use the stable python-version and activate-environment inputs, which are unchanged across the v7 → v8 major bump.

Files updated (10 occurrences)

  • .github/actions/build-wheel-for-publish/action.yml
  • .github/workflows/ci_mainline_only.yml
  • .github/workflows/ci_test.yml
  • .github/workflows/torch_c_dlpack.yml

The ASF infrastructure-actions allowlist removed the previously pinned
astral-sh/setup-uv ref (5a095e7, v7.3.1). Bump to the latest allowed ref
fac544c (v8.2.0), which is currently the newest approved ref and carries
no expiry in the allowlist.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the astral-sh/setup-uv GitHub Action to a newer commit hash. The review feedback correctly identifies that the version comment is incorrect for the specified commit hash and suggests updating it to # v0.8.2.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .github/actions/build-wheel-for-publish/action.yml
@cyx-6 cyx-6 merged commit f904104 into apache:main Jun 17, 2026
9 checks passed
tqchen pushed a commit that referenced this pull request Jun 18, 2026
## Motivation

The ASF `infrastructure-actions` allowlist was updated and the
`Jimver/cuda-toolkit` ref currently pinned in our CI was removed:

- Removed:
`Jimver/cuda-toolkit@6008063726ffe3309d1b22e413d9e88fed91a2f2`

Since this ref is no longer on the approved list, the ASF
action-allowlist check fails for `torch_c_dlpack.yml`.

## Change

Bump `Jimver/cuda-toolkit` to the latest allowed ref:

- New: `Jimver/cuda-toolkit@3d45d157f327c09c04b50ee6ccdea2d9d017ec76`
(v0.2.35)

This is the newest `cuda-toolkit` ref on the allowlist and the only one
without an `expires_at`, so it is the most durable choice. The step only
consumes the stable `CUDA_PATH` output (no `with:` inputs), so the bump
needs no other changes.

## Notes

This is a follow-up to the action-ref hygiene sweep. The
previously-expired `astral-sh/setup-uv` (#624) and `pypa/cibuildwheel`
(#626) refs have already been bumped on `main`; `Jimver/cuda-toolkit`
was the only remaining ref flagged by the ASF allowlist checker.

Verified with the official `apache/infrastructure-actions`
`check_asf_allowlist.py` against the current `approved_patterns.yml`: 0
violations after this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants