feat: sbom and wheelhouse filtering on GitHub release#1260
Open
SMoraisAnsys wants to merge 6 commits intomainfrom
Open
feat: sbom and wheelhouse filtering on GitHub release#1260SMoraisAnsys wants to merge 6 commits intomainfrom
SMoraisAnsys wants to merge 6 commits intomainfrom
Conversation
9 tasks
…:ansys/actions into feat/allow-sbom-and-wheelhouse-filtering
moe-ad
approved these changes
Apr 15, 2026
Contributor
moe-ad
left a comment
There was a problem hiding this comment.
LGTM. Thanks for this @SMoraisAnsys!
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.
This PR adds support for filtering distribution files in the

dist/wheelhouseanddist/sbomdirectories when releasing on Github.The main reason for this change is that the combinatorial associated to the build-wheelhouse action can lead to a releases page heavily loaded, making it hard for users to find the artifact they would like to consume. Below is an example in pyaedt
where not all items are showing AND where we have been discarding the wheelhouses without optional target. This is because most (if not all) of our users request the wheelhouse with
alltarget.While removing the wheelhouses without optional target reduces the number of artifact, it can also lead to a release that is not working without an optional dependency installed :/ This scenario happened in a release of
pyaedtwhere the commandimport ansys.aedt.corewas failing due to a graphic dependency being required. This error went through the CI because we removed the target '' from the build-wheelhouse job as we didn't want to many artifacts in the releases page...The proposed feature would help to keep having the full build-wheelhouse job and filtering what gets into the releases page.
Here is a successful run where I played with the filter
"*ubuntu-latest*,*windows-latest-3.12*,*-all-wheelhouse-macos-latest-3.14*"and which worked as expected.