You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fs scan error: scan error: scan failed: failed analysis: walk filesystem: walk dir error: unknown error with /github/workspace: lstat /github/workspace: no such file or directory
#404
Open
salmannaseempb opened this issue
Oct 9, 2024
· 2 comments
There seems to be an issue with the latest release v0.26.0 while scanning with trivy-action.
Expected Output:
A successful scan
Actual Output:
scan error: scan failed: failed analysis: walk filesystem: walk dir error: unknown error with /github/workspace: lstat /github/workspace: no such file or directory
In a20de54 the action was changed from docker based to use a composite action, meaning that the mount paths no longer are correct (the docs are, but only if you use those particular pinned versions).
Replacing scan-ref: /github/workspace/ with scan-ref: ${{ github.workspace }}/ should fix the problem.
Versions up to and including 0.25.0 don't have that commit.
There seems to be an issue with the latest release
v0.26.0
while scanning with trivy-action.Expected Output:
Actual Output:
The text was updated successfully, but these errors were encountered: