-
Notifications
You must be signed in to change notification settings - Fork 1.5k
JAVA-5911 - SBOM Auto PR Generation #1844
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
base: main
Are you sure you want to change the base?
Conversation
|
Assigned |
rozza
left a 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.
A couple of nits.
| * limitations under the License. | ||
| */ | ||
| import java.time.Duration | ||
| import org.cyclonedx.model.* |
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.
| import org.cyclonedx.model.* | |
| import org.cyclonedx.model.OrganizationalContact |
| id("eclipse") | ||
| id("idea") | ||
| alias(libs.plugins.nexus.publish) | ||
| id("org.cyclonedx.bom") version "2.3.1" |
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.
This should use gradle/lib.versions.toml to keep with convention and an alias for the plugin. See the alias(libs.plugins.nexus.publish) above and lib.versions.toml for more information.
JAVA-5911
Added in Github action workflow for SBOM automation. This triggers on changes to the package updates. A new branch will be created for the PR and closed on merge.
Sample PR that it generates: thanhnguyen-mdb#1