/conftest-action

A GitHub action to run OPA conftest

Primary LanguageDockerfileMIT LicenseMIT

conftest-action

This GitHub Action runs Open Policy Agent conftest.

Inputs

args

Required Arguments to conftest. e.g. "test -p policy/k8s.rego manifests/*.yaml -o table"

Outputs

None. Job fails if conftest returns non-zero.

Example usage

uses: highb/conftest-action@v1.0.0
with:
  args: 'test -p policy/k8s.rego manifests/*.yaml -o table'