Skip to content

ci: pin third-party actions to Apache-approved SHAs#3172

Merged
geruh merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/pin-setup-uv
Mar 21, 2026
Merged

ci: pin third-party actions to Apache-approved SHAs#3172
geruh merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/pin-setup-uv

Conversation

@kevinjqliu
Copy link
Contributor

Rationale for this change

Pin astral-sh/setup-uv to commit SHAs from Apache's infrastructure-actions allowlist

Fixes apache/infrastructure-actions#550

Are these changes tested?

Are there any user-facing changes?

@kevinjqliu
Copy link
Contributor Author

"Python CI" running for this PR is a good sign.

Copy link
Member

@geruh geruh left a comment

Choose a reason for hiding this comment

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

pypa/cibuildwheel@v3.3.1 also will need to be pinned since it's on the allowlist
https://github.com/apache/infrastructure-actions/blob/07f5f9d2b05fe0ec9886e3ef0a9d79797817f0cb/approved_patterns.yml#L189-L190.

There is:

Let's get this one in and do the pinning as a follow up

- name: Install UV
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098
Copy link
Member

Choose a reason for hiding this comment

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

This is basically: v7.3.1

@geruh geruh merged commit 269476e into apache:main Mar 21, 2026
14 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/pin-setup-uv branch March 21, 2026 00:05
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.

The action astral-sh/setup-uv@v7 is not allowed in apache/iceberg-python

2 participants