This is an automated email from the ASF dual-hosted git repository. yhu pushed a commit to branch buildwheelskip in repository https://gitbox.apache.org/repos/asf/beam.git
commit d2efd02115290ba0bb832aa89fe92bba2afaf439 Author: Yi Hu <[email protected]> AuthorDate: Wed Mar 11 18:28:19 2026 -0400 Skip certain wheels on pull request trigger --- .github/workflows/build_wheels.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7bbbb1a2e3d..10941f05afd 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -229,6 +229,15 @@ jobs: ] # Keep in sync (remove asterisks) with PY_VERSIONS_FULL env var above - if changed, change that as well. py_version: ["cp310-", "cp311-", "cp312-", "cp313-"] + # The following exclude/include skips intermediate Python versions on GitHub hosted runners for PR run + is_pr: + - ${{ github.event_name == 'pull_request' }} + exclude: + - is_pr: true + include: + - os_python.os: "ubuntu-20.04" + - py_version: "cp310-" + - py_version: "cp313-" steps: - name: Download python source distribution from artifacts uses: actions/download-artifact@v5
