-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When using Trivy v0.64.0, parse error: EOF
error occurs and prevents the next process from executing.
This error doesn't happen with Trivy v0.63.0.
example
v0.64.0
Run reviewdog/action-trivy@v1
Run $GITHUB_ACTION_PATH/script.sh
Preparing ...
🐶 Installing reviewdog (v0.20.3) ... https://github.com/reviewdog/reviewdog
Installing trivy (latest) ... https://github.com/aquasecurity/trivy
Print trivy details ...
Running trivy with reviewdog 🐶 ...
reviewdog: parse error: EOF
Error: Process completed with exit code 1.
v0.63.0
Run reviewdog/action-trivy@v1
Run $GITHUB_ACTION_PATH/script.sh
Preparing ...
🐶 Installing reviewdog (v0.20.3) ... https://github.com/reviewdog/reviewdog
Installing trivy (v0.63.0) ... https://github.com/aquasecurity/trivy
Print trivy details ...
Running trivy with reviewdog 🐶 ...
yml
name: trivy
on: [pull_request]
jobs:
trivy:
name: trivy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Scan
uses: reviewdog/action-trivy@v1
with:
github_token: ${{ secrets.github_token }}
trivy_command: config
trivy_target: .
fail_level: any
filter_mode: "added"
flags: ""
trivy_flags: "--config trivy.yml"
Metadata
Metadata
Assignees
Labels
No labels