You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "guan404ming (via GitHub)" <gi...@apache.org> on 2026/06/16 13:23:09 UTC
[PR] [CI] Pin GitHub Actions to SHA for ASF INFRA compliance [tvm]
guan404ming opened a new pull request, #19793:
URL: https://github.com/apache/tvm/pull/19793
## Why
ASF INFRA enforces that external GitHub Actions must be pinned to a commit SHA on the approved allowlist; tag refs like `@v3.0.1` are rejected, failing the workflow with "not allowed in apache/tvm". See the [policy](https://infra.apache.org/github-actions-policy.html) and the [approved allowlist](https://github.com/apache/infrastructure-actions/blob/main/approved_patterns.yml).
## How
- Pin `pre-commit/action` to `2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd` (v3.0.1)
- Pin `pypa/cibuildwheel` to `294735312765b09d24a2fbec22660ce817587d55` (v4.1.0)
- Pin `pypa/gh-action-pypi-publish` to `ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e` (v1.13.0)
- Leave GitHub-owned `actions/*` and the allowlisted `conda-incubator/setup-miniconda@*` pattern untouched
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [CI] Pin GitHub Actions to SHA for ASF INFRA compliance [tvm]
Posted by "guan404ming (via GitHub)" <gi...@apache.org>.
guan404ming merged PR #19793:
URL: https://github.com/apache/tvm/pull/19793
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [CI] Pin GitHub Actions to SHA for ASF INFRA compliance [tvm]
Posted by "guan404ming (via GitHub)" <gi...@apache.org>.
guan404ming commented on PR #19793:
URL: https://github.com/apache/tvm/pull/19793#issuecomment-4719377405
Also fix the lint issue accumulated during the lint workflow was down.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [CI] Pin GitHub Actions to SHA for ASF INFRA compliance [tvm]
Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on code in PR #19793:
URL: https://github.com/apache/tvm/pull/19793#discussion_r3421063244
##########
.github/actions/build-wheel-for-publish/action.yml:
##########
@@ -108,7 +108,7 @@ runs:
# ---- Build and test wheels ----
- name: Build and test wheels
- uses: pypa/cibuildwheel@v4.1.0
+ uses: pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0
Review Comment:

The comment indicates version `v4.1.0`, but `pypa/cibuildwheel` is currently on major version `v2` (with no `v4.1.0` release). The commit SHA `294735312765b09d24a2fbec22660ce817587d55` corresponds to version `v2.21.0`. Updating the comment to reference the correct version will prevent confusion.
```yaml
uses: pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v2.21.0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [CI] Pin GitHub Actions to SHA for ASF INFRA compliance [tvm]
Posted by "guan404ming (via GitHub)" <gi...@apache.org>.
guan404ming commented on code in PR #19793:
URL: https://github.com/apache/tvm/pull/19793#discussion_r3421081607
##########
.github/actions/build-wheel-for-publish/action.yml:
##########
@@ -108,7 +108,7 @@ runs:
# ---- Build and test wheels ----
- name: Build and test wheels
- uses: pypa/cibuildwheel@v4.1.0
+ uses: pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0
Review Comment:
This SHA points to tag v4.1.0; the comment is correct. https://github.com/pypa/cibuildwheel/releases/tag/v4.1.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org