govctl 0.2.0

Project governance CLI for RFC, ADR, and Work Item management
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v6.0.0
    hooks:
      - id: end-of-file-fixer
        exclude: "^tests/snapshots/"
      - id: trailing-whitespace
        exclude: "^tests/snapshots/"
      - id: check-merge-conflict
      - id: check-toml
      - id: check-yaml
      - id: check-added-large-files
        args: ["--maxkb=500"]

  - repo: https://github.com/gitleaks/gitleaks
    rev: v8.30.0
    hooks:
      - id: gitleaks

  - repo: https://github.com/doublify/pre-commit-rust
    rev: v1.0
    hooks:
      - id: fmt
      - id: cargo-check
      - id: clippy

  - repo: local
    hooks:
      - id: cargo-test
        name: cargo test runner
        entry: cargo test --workspace
        language: system
        pass_filenames: false
      - id: render-rfc
        name: render RFCs
        entry: cargo run --quiet -- render rfc
        language: system
        pass_filenames: false

  - repo: https://github.com/rbubley/mirrors-prettier
    rev: v3.7.4
    hooks:
      - id: prettier
        exclude: "^docs/rfc/RFC-.*\\.md$"
        args: [--log-level=silent]