Skip to content

Commit

Permalink
Add Trivy Cache ignores
Browse files Browse the repository at this point in the history
This fixes Maven blowing up with OOM as some plugins are trying to read
the very large Java DB files and exhausting memory on GitHub Actions
runners.
  • Loading branch information
rvesse committed Oct 2, 2024
1 parent aad2694 commit 4340a96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ dependency-reduced-pom.xml
# OS X
.DS_Store

# Trivy Cache
.trivy/
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@
<exclude>*-code-style.xml</exclude>
<exclude>docs/images/</exclude>
<exclude>temp.token</exclude>
<exclude>.trivy/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down Expand Up @@ -332,6 +333,7 @@
<exclude>**/*.graphqls</exclude>
<exclude>**/*.trig</exclude>
<exclude>**/graphql-jena-server</exclude>
<exclude>.trivy/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
Expand Down

0 comments on commit 4340a96

Please # to comment.