Skip to content

Commit

Permalink
Fix dependency check workflow (#10494)
Browse files Browse the repository at this point in the history
Fix dependency check workflow by switching to a separate cache.

Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
steven-sheehy authored Feb 26, 2025
1 parent 07e131f commit a20596c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
dependencies:
name: Dependency Check
runs-on: hiero-mirror-node-linux-large
if: false # ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
Expand Down Expand Up @@ -60,8 +59,6 @@ jobs:
cache-read-only: false

- name: Vulnerability check
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
run: ./gradlew dependencyCheckAggregate
timeout-minutes: 20

Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/common-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ dependencyCheck {
experimentalEnabled = true
golangModEnabled = false // Too many vulnerabilities in transitive dependencies currently
}
nvd { datafeedUrl = "https://dependency-check.github.io/DependencyCheck_Builder/nvd_cache/" }
}

0 comments on commit a20596c

Please sign in to comment.