Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pre-commit config for private AutoPkg recipe repository (YAML recipes and overrides)
repos:
- repo: https://github.com/homebysix/pre-commit-macadmin
rev: v1.10.1
hooks:
- id: check-autopkg-recipes
args: [
"--recipe-prefix=com.pretendco.cpe.",
"--override-prefix=local.",
"--",
]
- id: forbid-autopkg-overrides
exclude: ^RecipeOverrides/
- id: forbid-autopkg-trust-info
exclude: ^RecipeOverrides/
- id: check-autopkg-recipe-list
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: no-commit-to-branch
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment