Failed while Multiple Dependency file Changed in PR
error: fs scan error: scan error: scan failed: failed analysis: analyze with traversal: walk dir error:
id: trivy_scan
continue-on-error: true
if: always() && steps.skip_scan.outcome != 'success'
uses: aquasecurity/trivy-action@master
with:
scan-type: "fs"
output: trivy-report.json
scanners: vuln,license
format: json
cache: 'true'
scan-ref: ${{ (github.event_name == 'pull_request' || github.event_name == 'push') && steps.changes.outputs.dependencies_files || '.' }}
exit-code: 0
severity: 'CRITICAL,HIGH'
error is Running Trivy with options: trivy fs go.mod libs/promo/go.mod
2025-10-03T22:54:02Z INFO [vuln] Vulnerability scanning is enabled
2025-10-03T22:54:02Z INFO [license] License scanning is enabled
2025-10-03T22:54:02Z FATAL Fatal error run error: fs scan error: scan error: scan failed: failed analysis: analyze with traversal: walk dir error: unknown error with go.mod libs/promo/go.mod: lstat go.mod libs/promo/go.mod: no such file or directory
Error: Process completed with exit code 1.
Failed while Multiple Dependency file Changed in PR
error: fs scan error: scan error: scan failed: failed analysis: analyze with traversal: walk dir error:
error is Running Trivy with options: trivy fs go.mod libs/promo/go.mod
2025-10-03T22:54:02Z INFO [vuln] Vulnerability scanning is enabled
2025-10-03T22:54:02Z INFO [license] License scanning is enabled
2025-10-03T22:54:02Z FATAL Fatal error run error: fs scan error: scan error: scan failed: failed analysis: analyze with traversal: walk dir error: unknown error with go.mod libs/promo/go.mod: lstat go.mod libs/promo/go.mod: no such file or directory
Error: Process completed with exit code 1.