-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLD: Run wheel builders on labeled pull requests #21107
Conversation
Could you add this also to the documentation, maybe around the section about skipping Ci runs. |
.github/workflows/wheels.yml
Outdated
# 03 - Maintenance(for dependency upgrades), and | ||
# 14 - Release(ensure wheels build before release) | ||
# Note: Adding a label will not run the wheel builders on an commit made before the label was added. | ||
# You will need to close/re-open the pull request or add another commit to trigger the wheel builders after a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies if this was considered and discounted, but you could solve that by adding below under on:
:
pull_request:
types:
- labeled
- synchronize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would that run wheel builds only on the specific labels listed in the comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, I think the problem with this approach is that the completed runs only show up as a check on the commit itself but not under the Checks
tab for a pull request.
EDIT: I was wrong. It seems that Github fixed this, given that this didn't use to work in the past for me at least. I've made the necessary changes, and I'm so sorry for discounting your idea before trying it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries, I wasn't sure after you said that so I only just now verified that it works as expected. I know my experience with GHA is that "as expected" doesn't mean reality.
cefded0
to
092b802
Compare
Done. One last thing. |
This looks good, assuming it does what it claims :). |
@mattip should be good to go now. |
Not connected to this PR, CI is having some hiccups.
|
24caa90
to
31ad1ff
Compare
Thanks @lithomas1 |
No description provided.