Bump org.cyclonedx:cyclonedx-maven-plugin from 2.8.2 to 2.9.0 #659
Workflow file for this run
This file contains 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
name: 'OWASP' | |
env: | |
MAVEN_OPTS: -Djava.awt.headless=true | |
on: | |
pull_request: | |
schedule: | |
- cron: "17 23 * * 0" | |
workflow_dispatch: | |
jobs: | |
owasp: | |
name: 'Dependency Check' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 'Set up JDK' | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
cache: 'maven' | |
- name: 'OWASP Dependency Check' | |
continue-on-error: true | |
env: | |
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | |
run: mvn -U install -DskipTests -DskipITs -Dmaven.test.skip=true org.owasp:dependency-check-maven:check -fae -B -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -DfailBuildOnCVSS=5 | |
- name: 'Upload result to GitHub Code Scanning' | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: target/dependency-check-report.sarif | |
- name: 'Cleanup snapshots' | |
run: mvn clean build-helper:remove-project-artifact |