{"id":28534176,"url":"https://github.com/renovatebot/pre-commit-hooks","last_synced_at":"2026-06-06T02:04:58.494Z","repository":{"id":37021639,"uuid":"452070489","full_name":"renovatebot/pre-commit-hooks","owner":"renovatebot","description":"Pre-commit hooks for Renovate","archived":false,"fork":false,"pushed_at":"2026-05-12T03:23:57.000Z","size":4215,"stargazers_count":48,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-27T09:33:14.037Z","etag":null,"topics":["pre-commit","renovate"],"latest_commit_sha":null,"homepage":"","language":null,"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/renovatebot.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-25T23:01:11.000Z","updated_at":"2026-05-12T05:58:11.000Z","dependencies_parsed_at":"2023-12-26T02:30:38.150Z","dependency_job_id":"75a54015-a0be-49d0-8d95-45a5d55a52b0","html_url":"https://github.com/renovatebot/pre-commit-hooks","commit_stats":null,"previous_names":[],"tags_count":4091,"template":false,"template_full_name":null,"purl":"pkg:github/renovatebot/pre-commit-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renovatebot%2Fpre-commit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renovatebot%2Fpre-commit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renovatebot%2Fpre-commit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renovatebot%2Fpre-commit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renovatebot","download_url":"https://codeload.github.com/renovatebot/pre-commit-hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renovatebot%2Fpre-commit-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33632271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["pre-commit","renovate"],"created_at":"2025-06-09T17:10:09.685Z","updated_at":"2026-05-29T01:01:45.417Z","avatar_url":"https://github.com/renovatebot.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Renovate pre-commit hooks\n\nA [pre-commit](https://pre-commit.com/) hook to run [`renovate-config-validator`](https://docs.renovatebot.com/config-validation/#config-validation) when you [reconfigure Renovate via PR](https://docs.renovatebot.com/getting-started/installing-onboarding/#reconfigure-via-pr).\n\nEven though it is a Node-based hook, it works [without any system-level dependencies](https://pre-commit.com/#node).\n\n## Usage\n\nFor general usage:\n\n```yaml\nrepos:\n  - repo: https://github.com/renovatebot/pre-commit-hooks\n    rev: 43.201.3\n    hooks:\n      - id: renovate-config-validator\n```\n\nOr for a tighter configuration,\nopt into [strict mode](https://docs.renovatebot.com/config-validation/#strict-mode):\n\n```yaml\nrepos:\n  - repo: https://github.com/renovatebot/pre-commit-hooks\n    rev: 43.201.3\n    hooks:\n      - id: renovate-config-validator\n        args: [--strict]\n```\n\nIf you run into Heap Size issues try to set ENV `NODE_OPTIONS` with value `\"--max-old-space-size=4096\"`.\n\n## Override hook configuration\n\nYou can override the configuration in [pre-commit-hooks.yaml](.pre-commit-hooks.yaml), for instance to scan for all `.json5` files\n\n```yaml\nrepos:\n  - repo: https://github.com/renovatebot/pre-commit-hooks\n    rev: 43.201.3\n    hooks:\n      - id: renovate-config-validator\n        args: [--strict]\n        files: '.*\\\\.json5$'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenovatebot%2Fpre-commit-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenovatebot%2Fpre-commit-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenovatebot%2Fpre-commit-hooks/lists"}