- id: kingfisher-auto name: kingfisher (auto-install) description: Automatically downloads and caches the Kingfisher binary, then scans staged changes. No manual installation required. entry: scripts/kingfisher-pre-commit-auto.sh language: script pass_filenames: false stages: [pre-commit] - id: kingfisher-docker name: kingfisher (docker) description: Run Kingfisher in Docker against staged changes at the repository root. Requires Docker but no local install. entry: ghcr.io/mongodb/kingfisher:latest language: docker args: ["scan", ".", "--staged", "--quiet", "--no-update-check"] pass_filenames: false stages: [pre-commit] - id: kingfisher name: kingfisher description: Scan staged changes with the locally installed Kingfisher binary. entry: kingfisher language: system args: ["scan", ".", "--staged", "--quiet", "--no-update-check"] pass_filenames: false types: [file] stages: [pre-commit]