Skip to content
HALOWERK

Codewerk

pre commit check

Parses the pre-commit configuration, and for every remote repository on GitHub or GitLab reads tags and heads with git ls-remote (no API token, no rate-limited API). Reports the current rev, whether it is a tag, branch or commit SHA, the latest semantic-version tag, whether the hook is outdated and the update target; local and meta repos are skipped. Up to 25 repositories per call.

POST https://code.halowerk.com/v1/pre-commit-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
configstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "config"
  ],
  "properties": {
    "config": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200000
    }
  }
}

Open original schema

Published input example

{
  "config": "repos:\n  - repo: https://github.com/pre-commit/pre-commit-hooks\n    rev: v4.0.1\n    hooks:\n      - id: trailing-whitespace\n"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’