Skip to content

[CI] Trigger the python wheel workflow only when a PR is labelled.#22878

Open
hageboeck wants to merge 1 commit into
root-project:masterfrom
hageboeck:pythonWheelTrigger
Open

[CI] Trigger the python wheel workflow only when a PR is labelled.#22878
hageboeck wants to merge 1 commit into
root-project:masterfrom
hageboeck:pythonWheelTrigger

Conversation

@hageboeck

@hageboeck hageboeck commented Jul 22, 2026

Copy link
Copy Markdown
Member

This is an attempt to reduce unnecessary triggers of the workflow. In most PRs, the wheels won't be built, so the PR "opened" trigger is a bit too much.
Instead, trigger only when a PR is labelled, rebased, or reopened.

@hageboeck
hageboeck requested a review from vepadulano July 22, 2026 08:34
@hageboeck hageboeck self-assigned this Jul 22, 2026
@hageboeck
hageboeck requested a review from dpiparo as a code owner July 22, 2026 08:34
@hageboeck hageboeck added the skip ci Skip the full builds on the actions runners label Jul 22, 2026
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 2380dbd.

♻️ This comment has been updated with latest results.

@hageboeck

hageboeck commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

@vepadulano it looks like it's even better than I thought. It triggered the wheel workflow because I added the "skip-ci" label before I opened the PR. I'll open a test PR without any labels now to see what happens.

Update: Test PR successful. Wheels build in #22879

This is an attempt to reduce unnecessary triggers of the workflow. In
most PRs, the wheels won't be built, so the PR "opened" trigger is a bit
too much.
Instead, trigger only when a PR is labelled, rebased, or reopened.
@hageboeck
hageboeck force-pushed the pythonWheelTrigger branch from 82f2038 to 2380dbd Compare July 22, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip ci Skip the full builds on the actions runners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant