I tried to execute the action with this workflow
- name: Run trivy with reviewdog output on the PR
uses: reviewdog/action-trivy@v1.5.2
with:
github_token: ${{ secrets.github_token }}
trivy_command: config # Change trivy command
trivy_target: . # Change trivy target directory
level: info # Get more output from reviewdog
reporter: github-pr-review # Change reviewdog reporter
filter_mode: nofilter # Check all files, not just the diff
fail_on_error: false # Fail action if errors are found
flags: -tee # Add debug flag to reviewdog
trivy_flags: "" # Optional
The action reports an error

but I see no review created on my PR.
I've also tried to change the command like this:
- name: Run trivy with reviewdog output on the PR
uses: reviewdog/action-trivy@v1.5.2
with:
github_token: ${{ secrets.github_token }}
trivy_command: filesystem # Change trivy command
trivy_target: . # Change trivy target directory
level: info # Get more output from reviewdog
reporter: github-pr-review # Change reviewdog reporter
filter_mode: nofilter # Check all files, not just the diff
fail_on_error: false # Fail action if errors are found
flags: -tee # Add debug flag to reviewdog
trivy_flags: "--cache-dir .trivy --vuln-type os,library" # Optional
and the result is the pipeline is successful but without any issue detected:

which isn't possible since there are issues:

I tried to execute the action with this workflow
The action reports an error

but I see no review created on my PR.
I've also tried to change the command like this:
and the result is the pipeline is successful but without any issue detected:

which isn't possible since there are issues:
