https://github.com/highb/conftest-action
A GitHub action to run OPA conftest
https://github.com/highb/conftest-action
Last synced: over 1 year ago
JSON representation
A GitHub action to run OPA conftest
- Host: GitHub
- URL: https://github.com/highb/conftest-action
- Owner: highb
- License: mit
- Created: 2022-12-01T19:21:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-02T02:55:17.000Z (over 1 year ago)
- Last Synced: 2025-03-02T03:34:18.052Z (over 1 year ago)
- Language: Dockerfile
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# conftest-action
This GitHub Action runs [Open Policy Agent](https://github.com/open-policy-agent) [conftest](https://github.com/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
```github
uses: highb/conftest-action@v1.0.0
with:
args: 'test -p policy/k8s.rego manifests/*.yaml -o table'
```