This is an automated email from the ASF dual-hosted git repository.
tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new d6bc507d769 Skip intermediate python wheels on pull request trigger
(#37832)
d6bc507d769 is described below
commit d6bc507d769310675fcd97acdc7106ed9854f2c6
Author: Yi Hu <[email protected]>
AuthorDate: Wed Mar 11 19:45:56 2026 -0400
Skip intermediate python wheels on pull request trigger (#37832)
---
.github/workflows/build_wheels.yml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build_wheels.yml
b/.github/workflows/build_wheels.yml
index 7bbbb1a2e3d..069a435fa74 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -25,9 +25,9 @@ on:
push:
branches: ['master', 'release-*']
tags: 'v*'
+ paths: ['sdks/python/**', 'model/**', 'release/**']
pull_request:
branches: ['master', 'release-*']
- tags: 'v*'
paths: ['sdks/python/**', 'model/**', 'release/**']
workflow_dispatch:
@@ -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