{"id":13498720,"url":"https://github.com/adrienverge/yamllint","last_synced_at":"2026-01-16T19:40:19.563Z","repository":{"id":37479979,"uuid":"49412249","full_name":"adrienverge/yamllint","owner":"adrienverge","description":"A linter for YAML files.","archived":false,"fork":false,"pushed_at":"2026-01-13T07:48:53.000Z","size":817,"stargazers_count":3283,"open_issues_count":148,"forks_count":306,"subscribers_count":29,"default_branch":"master","last_synced_at":"2026-01-13T10:35:17.999Z","etag":null,"topics":["lint","linter","yaml","yamllint"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrienverge.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-11T08:26:36.000Z","updated_at":"2026-01-13T07:48:56.000Z","dependencies_parsed_at":"2022-07-12T16:18:42.975Z","dependency_job_id":"8e72394b-a746-4357-bc85-84603676cdae","html_url":"https://github.com/adrienverge/yamllint","commit_stats":{"total_commits":519,"total_committers":99,"mean_commits":5.242424242424242,"dds":0.3872832369942196,"last_synced_commit":"f0c0c7586b97809289bdcfe83a66363330b645d8"},"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"purl":"pkg:github/adrienverge/yamllint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienverge%2Fyamllint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienverge%2Fyamllint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienverge%2Fyamllint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienverge%2Fyamllint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrienverge","download_url":"https://codeload.github.com/adrienverge/yamllint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienverge%2Fyamllint/sbom","scorecard":{"id":168145,"data":{"date":"2025-08-11","repo":{"name":"github.com/adrienverge/yamllint","commit":"866f805cbfaa4c89de8b92c3839eb80d46001eda"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"19 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":7,"reason":"Found 15/20 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/publish.yaml:86","Warn: no topLevel permission defined: .github/workflows/publish.yaml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/tests.yaml:12"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/publish.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/tests.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/tests.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yaml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/adrienverge/yamllint/tests.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish.yaml:24","Warn: pipCommand not pinned by hash: .github/workflows/tests.yaml:27","Warn: pipCommand not pinned by hash: .github/workflows/tests.yaml:29","Warn: pipCommand not pinned by hash: .github/workflows/tests.yaml:66","Warn: pipCommand not pinned by hash: .github/workflows/tests.yaml:67","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":8,"reason":"4 out of the last 4 releases have a total of 4 signed artifacts.","details":["Info: signed release artifact: yamllint-1.37.1-py3-none-any.whl.sigstore.json: https://github.com/adrienverge/yamllint/releases/tag/v1.37.1","Info: signed release artifact: yamllint-1.37.0-py3-none-any.whl.sigstore.json: https://github.com/adrienverge/yamllint/releases/tag/v1.37.0","Info: signed release artifact: yamllint-1.36.2-py3-none-any.whl.sigstore.json: https://github.com/adrienverge/yamllint/releases/tag/v1.36.2","Info: signed release artifact: yamllint-1.36.1-py3-none-any.whl.sigstore.json: https://github.com/adrienverge/yamllint/releases/tag/v1.36.1","Warn: release artifact v1.37.1 does not have provenance: https://api.github.com/repos/adrienverge/yamllint/releases/216341745","Warn: release artifact v1.37.0 does not have provenance: https://api.github.com/repos/adrienverge/yamllint/releases/207675641","Warn: release artifact v1.36.2 does not have provenance: https://api.github.com/repos/adrienverge/yamllint/releases/206180830","Warn: release artifact v1.36.1 does not have provenance: https://api.github.com/repos/adrienverge/yamllint/releases/206033343"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yaml:41"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T15:31:23.692Z","repository_id":37479979,"created_at":"2025-08-16T15:31:23.692Z","updated_at":"2025-08-16T15:31:23.692Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28449287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T09:25:53.698Z","status":"ssl_error","status_checked_at":"2026-01-15T09:25:52.439Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lint","linter","yaml","yamllint"],"created_at":"2024-07-31T21:00:41.482Z","updated_at":"2026-01-16T19:40:19.555Z","avatar_url":"https://github.com/adrienverge.png","language":"Python","funding_links":[],"categories":["Supported Linters","Python","Config files","Linters","yaml","Coding"],"sub_categories":["yamllint","YAML","Linters"],"readme":"yamllint\n========\n\nA linter for YAML files.\n\nyamllint does not only check for syntax validity, but for weirdnesses like key\nrepetition and cosmetic problems such as lines length, trailing spaces,\nindentation, etc.\n\n.. image::\n   https://github.com/adrienverge/yamllint/actions/workflows/tests.yaml/badge.svg?branch=master\n   :target: https://github.com/adrienverge/yamllint/actions/workflows/tests.yaml?query=branch%3Amaster\n   :alt: CI tests status\n.. image::\n   https://coveralls.io/repos/github/adrienverge/yamllint/badge.svg?branch=master\n   :target: https://coveralls.io/github/adrienverge/yamllint?branch=master\n   :alt: Code coverage status\n.. image:: https://readthedocs.org/projects/yamllint/badge/?version=latest\n   :target: https://yamllint.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation status\n\nWritten in Python.\n\nDocumentation\n-------------\n\nhttps://yamllint.readthedocs.io/\n\nOverview\n--------\n\nScreenshot\n^^^^^^^^^^\n\n.. image:: docs/screenshot.png\n   :alt: yamllint screenshot\n\nInstallation\n^^^^^^^^^^^^\n\nUsing pip, the Python package manager:\n\n.. code:: bash\n\n pip install --user yamllint\n\nyamllint is also packaged for all major operating systems, see installation\nexamples (``dnf``, ``apt-get``...) `in the documentation\n\u003chttps://yamllint.readthedocs.io/en/stable/quickstart.html\u003e`_.\n\nUsage\n^^^^^\n\n.. code:: bash\n\n # Lint one or more files\n yamllint my_file.yml my_other_file.yaml ...\n\n.. code:: bash\n\n # Recursively lint all YAML files in a directory\n yamllint .\n\n.. code:: bash\n\n # Use a pre-defined lint configuration\n yamllint -d relaxed file.yaml\n\n # Use a custom lint configuration\n yamllint -c /path/to/myconfig file-to-lint.yaml\n\n.. code:: bash\n\n # Output a parsable format (for syntax checking in editors like Vim, emacs...)\n yamllint -f parsable file.yaml\n\n`Read more in the complete documentation! \u003chttps://yamllint.readthedocs.io/\u003e`__\n\nFeatures\n^^^^^^^^\n\nHere is a yamllint configuration file example:\n\n.. code:: yaml\n\n extends: default\n\n rules:\n   # 80 chars should be enough, but don't fail if a line is longer\n   line-length:\n     max: 80\n     level: warning\n\n   # don't bother me with this rule\n   indentation: disable\n\nWithin a YAML file, special comments can be used to disable checks for a single\nline:\n\n.. code:: yaml\n\n This line is waaaaaaaaaay too long  # yamllint disable-line\n\nor for a whole block:\n\n.. code:: yaml\n\n # yamllint disable rule:colons\n - Lorem       : ipsum\n   dolor       : sit amet,\n   consectetur : adipiscing elit\n # yamllint enable\n\nSpecific files can be ignored (totally or for some rules only) using a\n``.gitignore``-style pattern:\n\n.. code:: yaml\n\n # For all rules\n ignore: |\n   *.dont-lint-me.yaml\n   /bin/\n   !/bin/*.lint-me-anyway.yaml\n\n rules:\n   key-duplicates:\n     ignore: |\n       generated\n       *.template.yaml\n   trailing-spaces:\n     ignore: |\n       *.ignore-trailing-spaces.yaml\n       /ascii-art/*\n\n`Read more in the complete documentation! \u003chttps://yamllint.readthedocs.io/\u003e`__\n\nLicense\n-------\n\n`GPL version 3 \u003cLICENSE\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienverge%2Fyamllint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrienverge%2Fyamllint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienverge%2Fyamllint/lists"}