{"id":19622497,"url":"https://github.com/instrumenta/conftest-action","last_synced_at":"2025-04-28T03:32:36.355Z","repository":{"id":45893165,"uuid":"202846366","full_name":"instrumenta/conftest-action","owner":"instrumenta","description":"A GitHub Action for using Conftest","archived":false,"fork":false,"pushed_at":"2021-11-29T09:07:09.000Z","size":19,"stargazers_count":33,"open_issues_count":7,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T18:56:56.995Z","etag":null,"topics":["actions","conftest","instrumenta","openpolicyagent"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/instrumenta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-17T06:47:00.000Z","updated_at":"2024-09-16T14:13:37.000Z","dependencies_parsed_at":"2023-01-11T17:22:50.227Z","dependency_job_id":null,"html_url":"https://github.com/instrumenta/conftest-action","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.21052631578947367","last_synced_commit":"ae9212d5c0c26e21eedf359e2889d0d5d39dabd4"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":"actions/container-toolkit-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumenta%2Fconftest-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumenta%2Fconftest-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumenta%2Fconftest-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instrumenta%2Fconftest-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instrumenta","download_url":"https://codeload.github.com/instrumenta/conftest-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246394,"owners_count":21558762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","conftest","instrumenta","openpolicyagent"],"created_at":"2024-11-11T11:28:04.770Z","updated_at":"2025-04-28T03:32:31.346Z","avatar_url":"https://github.com/instrumenta.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conftest\n\nA [GitHub Action](https://github.com/features/actions) for using [Conftest](https://github.com/instrumenta/conftest) in your workflows.\n\nYou can use the action as follows:\n\n```yaml\non: push\nname: Validate\njobs:\n  conftest:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: test\n      uses: instrumenta/conftest-action@master\n      with:\n        files: deployment.yaml\n```\n\nThe Conftest Action has a small number of properties which map to the parameters for Conftest itself. These are\npassed to the action using `with`, as demonstrated with `files` in the above example.\n\n| Property | Default | Description |\n| --- | --- | --- |\n| files | - | *Required* which files to test |\n| policy | policy | Where to find the policy folder or files |\n| namespace | main | The Rego namespace to use for testing |\n| output | stdout | How to format the output from Conftest (stdout, json or tap) |\n\n\n## Helm\n\nConftest also has a [Helm plugin](https://github.com/instrumenta/helm-conftest) which makes testing Helm charts easier, and\nthat plugin is also available as an Action.\n\nYou can use the action as follows:\n\n```yaml\non: push\nname: Validate\njobs:\n  conftest:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: test\n      uses: instrumenta/conftest-action/helm@master\n      with:\n        chart: mysql\n```\n\nThe Conftest Helm Action has a small number of properties which map to the parameters for Conftest itself. These are\npassed to the action using `with`, as demonstrated with `chart` in the above example.\n\n| Property | Default | Description |\n| --- | --- | --- |\n| chart | - | *Required* which chart directory to test |\n| policy | policy | Where to find the policy folder or files |\n| namespace | main | The Rego namespace to use for testing |\n| output | stdout | How to format the output from Conftest (stdout, json or tap) |\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstrumenta%2Fconftest-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstrumenta%2Fconftest-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstrumenta%2Fconftest-action/lists"}