Skip to content

Add extra code to specify workflow conditions#19566

Merged
vepadulano merged 2 commits intoroot-project:masterfrom
vepadulano:wheel-workflow-schedule
Aug 8, 2025
Merged

Add extra code to specify workflow conditions#19566
vepadulano merged 2 commits intoroot-project:masterfrom
vepadulano:wheel-workflow-schedule

Conversation

@vepadulano
Copy link
Member

@vepadulano vepadulano commented Aug 7, 2025

I noticed the workflow is being skipped (e.g. https://github.com/root-project/root/actions/runs/16792883609). The gh UI doesn't say why. I have a suspicion that it is yet another undocumented behaviour. This commit suggests to add extra code to specify each and every scenario where the workflow can run.

Even though it is redundant with the on section, it looks like this is the way to have the workflow properly run.

Even though it is redundant with the `on` section, it looks like this is the way
to have the workflow properly run.
@vepadulano vepadulano self-assigned this Aug 7, 2025
@vepadulano vepadulano requested a review from dpiparo as a code owner August 7, 2025 09:35
@vepadulano vepadulano added in:Build System build-python-wheels Run the workflow to build Python wheels labels Aug 7, 2025
@vepadulano
Copy link
Member Author

Something broke the workflow in the meantime :) investigating...

@vepadulano vepadulano requested a review from bellenot as a code owner August 7, 2025 11:51
@vepadulano vepadulano requested a review from guitargeek August 7, 2025 11:51
@vepadulano vepadulano added build-python-wheels Run the workflow to build Python wheels and removed build-python-wheels Run the workflow to build Python wheels labels Aug 7, 2025
Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks.

@hahnjo
Copy link
Member

hahnjo commented Aug 7, 2025

You probably want to skip the upload step for PR builds. It currently doesn't have access to the secret, and even if it had I'm not sure it should actually upload something to the "production" repository...

@github-actions
Copy link

github-actions bot commented Aug 7, 2025

Test Results

    21 files      21 suites   3d 8h 58m 4s ⏱️
 3 250 tests  3 250 ✅ 0 💤 0 ❌
66 523 runs  66 523 ✅ 0 💤 0 ❌

Results for commit ac36d70.

@vepadulano
Copy link
Member Author

You probably want to skip the upload step for PR builds. It currently doesn't have access to the secret, and even if it had I'm not sure it should actually upload something to the "production" repository...

Thank you! I was thinking the same, will do it in a followup PR

@vepadulano vepadulano merged commit cd7fd86 into root-project:master Aug 8, 2025
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-python-wheels Run the workflow to build Python wheels in:Build System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants