{"id":28951022,"url":"https://github.com/nrkno/yaml-schema-validator-github-action","last_synced_at":"2025-06-23T14:07:53.507Z","repository":{"id":37793970,"uuid":"244347351","full_name":"nrkno/yaml-schema-validator-github-action","owner":"nrkno","description":"A GitHub action that uses Yamale for YAML schema validation","archived":false,"fork":false,"pushed_at":"2025-01-03T04:32:53.000Z","size":41,"stargazers_count":20,"open_issues_count":1,"forks_count":12,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-05T22:07:49.623Z","etag":null,"topics":["github-actions","schema-validation","validation","yaml","yaml-schema"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nrkno.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-02T10:52:37.000Z","updated_at":"2024-11-05T13:29:12.000Z","dependencies_parsed_at":"2022-06-23T19:11:43.256Z","dependency_job_id":"8a435c42-6615-493f-bab2-40592d57c53b","html_url":"https://github.com/nrkno/yaml-schema-validator-github-action","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/nrkno/yaml-schema-validator-github-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fyaml-schema-validator-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fyaml-schema-validator-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fyaml-schema-validator-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fyaml-schema-validator-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nrkno","download_url":"https://codeload.github.com/nrkno/yaml-schema-validator-github-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrkno%2Fyaml-schema-validator-github-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261491821,"owners_count":23166678,"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":["github-actions","schema-validation","validation","yaml","yaml-schema"],"created_at":"2025-06-23T14:07:52.755Z","updated_at":"2025-06-23T14:07:53.497Z","avatar_url":"https://github.com/nrkno.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yaml-schema-validator-github-action\n\nA GitHub action that uses [Yamale][] for YAML schema validation.\n\n## Usage\n\n- Filenames are relative to the repository root.\n- Disable strict checking by setting `no-strict` to `true`, `1` or `yes`.\n- For help with the schema definitions and reference, see [Yamale][].\n\nThe following example sets up a check to validate a YAML file in your\nrepository, *target.yaml*, using a schema defined in *schemas/schema.yaml*:\n\n```\nname: YAML schema validator\non: [push]\n\njobs:\n  yaml-schema-validation:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout\n    - uses: nrkno/yaml-schema-validator-github-action@v5\n      with:\n        schema: schemas/schema.yaml\n        target: target.yaml\n        # Uncomment to disable strict checks\n        # no-strict: true\n```\n\n## Versioning\n\nThis action is meant to be a wrapper around Yamale, so as of version 4.x\nof Yamale, this action will follow Yamale's major version scheme.\n\nTo bind the action to a specific release, suffix with `@\u003ctag\u003e`.\nE.g. `nrkno/yaml-schema-validator-github-action@v4`.\n\nhttps://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses\n\n## Developing\n\nCreate and enable a Python virtualenv\n\n```\n$ python -m venv venv\n$ source venv/bin/activate\n```\n\nInstall dependencies\n\n```\n$ pip install -r requirements.txt\n```\n\nDo a test-run with one of the provided examples\n\n```\n$ INPUT_SCHEMA=example/schema.yaml \\\n  INPUT_TARGET=example/file-valid-strict.yaml \\\n  ./entrypoint.sh\n```\n\n[Yamale]: https://github.com/23andMe/Yamale\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrkno%2Fyaml-schema-validator-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnrkno%2Fyaml-schema-validator-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrkno%2Fyaml-schema-validator-github-action/lists"}