/trivy-config-action

GitHub Actions for trivy config

Primary LanguageTypeScriptMIT LicenseMIT

trivy-config-action

GitHub Actions for trivy config command

image

--

image

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.

Requirements

Usage

- uses: suzuki-shunsuke/trivy-config-action@main
  with:
    github_token: ${{github.token}}
    working_directory: foo
    github_comment: 'true'

Inputs

Required Inputs

Nothing.

Optional Inputs

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

Outputs

Nothing.

LICENSE

MIT