Update DSL version to 9.16.4 (#422) #56
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: CVE Scanning | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'pom.xml' | |
- 'CVE-suppressions.xml' | |
- '.github/workflows/cve-scanning.yml' | |
pull_request: | |
paths: | |
- 'pom.xml' | |
- 'CVE-suppressions.xml' | |
- '.github/workflows/cve-scanning.yml' | |
# Cancel previous jobs | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
depcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/maven-build | |
with: | |
run-tests: false | |
- name: CVE scanning | |
uses: dependency-check/[email protected] | |
env: | |
JAVA_HOME: /opt/jdk | |
with: | |
project: ${{github.repository}} | |
path: '.' | |
format: 'HTML' | |
out: 'reports' | |
args: > | |
--suppression CVE-suppressions.xml | |
--failOnCVSS 7 | |
- name: Upload results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: CVE Scan Report | |
path: ${{github.workspace}}/reports |