Skip non-wheel CI runs for tags#7468
Merged
radarhere merged 1 commit intopython-pillow:mainfrom Oct 15, 2023
Merged
Conversation
radarhere
approved these changes
Oct 15, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Noticed during #7348, helps #7390.
When making a release, and pushing a tag, all the CI workflows run:
By the time we're making a release, the CI has already tested all merges to
main. Checking this is one of the first items in the release checklist.We can save some CI time and skip the non-wheels workflows for tag pushes.
The wheels workflows:
By default, all branches and tags are run. By explicitly specifying all branches
branches:"**"has the same effect as not specifying atags:` key, and not triggering for tags. Ref: https://stackoverflow.com/a/71879890/724176Demo
Pushing as
mainto my fork, all run:Pushing a tag, only the wheels+lint workflows run: