Skip to content

Commit

Permalink
chore: don't run dependency check everytime (NVD API limits) but usin…
Browse files Browse the repository at this point in the history
…g CI instead
  • Loading branch information
deki committed Jan 26, 2024
1 parent 5d9b42b commit 16cce27
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 28 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,16 @@ jobs:
# - uses: actions/checkout@v3
# - name: Build latest
# run: ./gha_build.sh struts true true

owasp-dependency-check:
name: Verify dependencies with OWASP checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 17
- name: Build latest
run: mvn -q org.owasp:dependency-check-maven:check
7 changes: 0 additions & 7 deletions aws-serverless-java-container-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,6 @@
<failBuildOnCVSS>7</failBuildOnCVSS>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
7 changes: 0 additions & 7 deletions aws-serverless-java-container-jersey/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,6 @@
<failBuildOnCVSS>7</failBuildOnCVSS>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
7 changes: 0 additions & 7 deletions aws-serverless-java-container-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,6 @@
<failBuildOnCVSS>7</failBuildOnCVSS>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
7 changes: 0 additions & 7 deletions aws-serverless-java-container-springboot3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,6 @@
<failBuildOnCVSS>7</failBuildOnCVSS>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 16cce27

Please sign in to comment.