Skip to content

Commit c9926df

Browse files
committed
Support yaml and json AutoPkg recipes for other hooks
1 parent 16e8097 commit c9926df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-hooks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
description: This hook checks AutoPkg recipes to ensure they contain required top-level keys.
1212
entry: check-autopkg-recipes
1313
language: python
14-
files: '\.recipe(\.yaml|\.json)?$'
14+
files: '\.recipe(\.plist|\.yaml|\.json)?$'
1515
types: [text]
1616

1717
- id: check-git-config-email
@@ -97,15 +97,15 @@
9797
description: This hook prevents AutoPkg overrides from being added to the repo.
9898
entry: forbid-autopkg-overrides
9999
language: python
100-
files: '\.recipe$'
100+
files: '\.recipe(\.plist|\.yaml|\.json)?$'
101101
types: [text]
102102

103103
- id: forbid-autopkg-trust-info
104104
name: Forbid AutoPkg Trust Info
105105
description: This hook prevents AutoPkg recipes with trust info from being added to the repo.
106106
entry: forbid-autopkg-trust-info
107107
language: python
108-
files: '\.recipe$'
108+
files: '\.recipe(\.plist|\.yaml|\.json)?$'
109109
types: [text]
110110

111111
- id: munki-makecatalogs

0 commit comments

Comments
 (0)