ci: activate build matrix, OWASP and SBOM workflows (NOVA-SEMVER-19/20/21)#2
Merged
Merged
Conversation
…0/21)
- ci.yml: add matrix (Java 21+25), owasp, and sbom jobs invoking the
already-existing reusable-build-matrix.yml, reusable-owasp-check.yml,
and reusable-sbom.yml workflows from nova-devops.
- build.gradle.kts: apply org.owasp.dependencycheck (12.2.2) and
org.cyclonedx.bom (3.2.4) plugins, required since Gradle (unlike
Maven) needs plugins declared locally - there is no ad-hoc GAV
invocation equivalent. Added a dependencyCheck { } block wiring
NOVA_OWASP_FAIL_ON_CVSS / NVD_API_KEY env vars, since the plugin
does not read gradle -P properties (see nova-devops commit 65e1d0a).
The job fails with NVD 429 (rate-limited) without an API key. Making it continue-on-error temporarily so it doesn't block PR merges while we wait for the key (see PR discussion). Remove this once NVD_API_KEY is set as an org secret.
'continue-on-error' is not a supported keyword for a job that calls a reusable workflow via 'uses:' - it broke workflow file parsing entirely. Moved the actual fix to nova-devops (step-level, in the reusable workflow itself).
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.
Activates the already-existing reusable-build-matrix.yml, reusable-owasp-check.yml, and reusable-sbom.yml workflows from nova-devops.
Part of Sprint 4 (NOVA-SEMVER-19/20/21).