File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 20
20
timeout-minutes : 60
21
21
dependencies :
22
22
name : Dependency checks
23
- if : ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' }}
23
+ if : ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop-6.x.x ' }}
24
24
runs-on : ubuntu-latest
25
25
steps :
26
26
- uses : actions/checkout@v4
30
30
java-version : ${{ env.DEV_JDK }}
31
31
cache : ' maven'
32
32
- name : OWASP dependency check
33
- env :
34
- NVD_API_KEY : ${{ secrets.NVD_API_KEY }}
35
- run : mvn -V -B dependency-check:check
33
+ run : mvn -V -B dependency-check:check -DnvdApiKey=${{ secrets.NVD_API_KEY }}
36
34
timeout-minutes : 60
37
35
test :
38
36
name : ${{ matrix.os }} Test
Original file line number Diff line number Diff line change 573
573
<artifactId >dependency-check-maven</artifactId >
574
574
<version >10.0.3</version >
575
575
<configuration >
576
- <nvdApiKey >cb452226-8de1-4d27-9032-7c9b8741c880 </nvdApiKey >
576
+ <nvdApiKey >${nvdApiKey} </nvdApiKey >
577
577
<!-- The OSS Index Server (https://ossindex.sonatype.org) can sometimes be flaky -->
578
578
<ossIndexWarnOnlyOnRemoteErrors >true</ossIndexWarnOnlyOnRemoteErrors >
579
579
You can’t perform that action at this time.
0 commit comments