{"id":38890447,"url":"https://github.com/conmob-devsecops/pre-commit-hooks","last_synced_at":"2026-01-17T14:51:34.660Z","repository":{"id":313877820,"uuid":"1053251637","full_name":"conmob-devsecops/pre-commit-hooks","owner":"conmob-devsecops","description":"Some out-of-the-box hooks for pre-commit, inspired by pre-commit-hooks and pre-commit.","archived":false,"fork":false,"pushed_at":"2025-09-24T10:23:44.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-24T12:26:24.083Z","etag":null,"topics":["pre-commit","pre-commit-hook","pre-commit-hooks"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conmob-devsecops.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":".github/CODEOWNERS","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":"2025-09-09T07:36:32.000Z","updated_at":"2025-09-24T10:22:04.000Z","dependencies_parsed_at":"2025-09-09T10:29:10.343Z","dependency_job_id":"e4da0ba3-ecfd-42a3-a0a2-fac01d8f26d8","html_url":"https://github.com/conmob-devsecops/pre-commit-hooks","commit_stats":null,"previous_names":["conmob-devsecops/pre-commit-hooks"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/conmob-devsecops/pre-commit-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fpre-commit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fpre-commit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fpre-commit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fpre-commit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conmob-devsecops","download_url":"https://codeload.github.com/conmob-devsecops/pre-commit-hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fpre-commit-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28510917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["pre-commit","pre-commit-hook","pre-commit-hooks"],"created_at":"2026-01-17T14:51:33.967Z","updated_at":"2026-01-17T14:51:34.654Z","avatar_url":"https://github.com/conmob-devsecops.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-hooks\n\nSome out-of-the-box hooks for pre-commit, inspired by [pre-commit-hooks](https://github.com/pre-commit/pre-commit) and\n[pre-commit](https://pre-commit.com/).\n\nSee also: https://github.com/conmob-devsecops/pre-commit-hooks\n\n## Using pre-commit-hooks with pre-commit\n\nAdd this to your `.pre-commit-config.yaml`\n\n```yaml\n- repo: https://github.com/conmob-devsecops/pre-commit-hooks\n  rev: v1.0.0  # Use the ref you want to point at\n  hooks:\n    - id: check-git-user-email\n      args: [ \"--allowed-domains\", \"example.net\",  \"example.com\" ]\n    - id: check-prohibited-filenames\n      args: [ \"--prohibited-names\", \"node_modules\",  \".DS_Store\" ]\n      # or/and\n      # args: [ \"--prohibited-patterns\", \"*.log\",  \"temp/*\", \"**/.env\" ]\n      # or/and\n      # args: [ \"--prohibited-regex\", \".*\\\\.log$\",  \"^temp/.*\", \".*/\\\\.env$\" ]\n  # -   id: ...\n```\n\n## Hooks available\n\n### check-git-user-email\n\nCheck that the user is using an allowed domain for the `user.email` setting of `git`.\n\n- Specify allowed domains with `args: [\"--allowed-domains\", \"example.net\",  \"example.com\"]`.\n\n### check-prohibited-filenames\n\nWorks similar to a `.gitignore` file, but provides feedback if any files with prohibited names are\nadded to the commit.\n\nFile names are prioritized over patterns.\n\n- Specify prohibited filenames with `args: [\"--names\", \"node_modules\",  \".DS_Store\"]`.\n- Supports [Glob-style](https://docs.python.org/3/library/glob.html) patterns, e.g.\n  `args: [\"--patterns\", \"*.log\",  \"temp/*\", \"**/.env\"]`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconmob-devsecops%2Fpre-commit-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconmob-devsecops%2Fpre-commit-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconmob-devsecops%2Fpre-commit-hooks/lists"}