GitHub Actions for trivy config command
--
Run trivy config
and notify the result with reviewdog and github-comment.
This GitHub Actions does not install trivy and reviewdog, so you have to install them in advance. It allows to install tools outside this action. aqua is useful to install them.
- trivy
- reviewdog
- (Optional) github-comment
- uses: suzuki-shunsuke/trivy-config-action@main
with:
github_token: ${{github.token}}
working_directory: foo
github_comment: 'true'
Nothing.
name | default value | description |
---|---|---|
github_token | github.token |
GitHub Access Token |
working_directory | "" (current directory) | Woring Directory |
github_comment | false |
Whether a comment is posted with github-comment |
Nothing.