Skip to content

Failed while Multiple Dependency file Changed #489

Description

@AmitPZepto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions