Skip to content

Commit a8caa76

Browse files
committed
fix: add pre-commit hook meta
1 parent 45446bb commit a8caa76

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
- id: k8svalidate
3+
name: k8svalidate
4+
description: A pre-commit hook to validate Kubernetes YAML files
5+
entry: k8svalidate
6+
language: python
7+
types:
8+
- yaml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ k8s-validate [--kubernetes-version X.X.X] [--exclude glob-pattern] files
1717
```
1818

1919
Add a section similar to this to your .pre-commit-hooks.yaml:
20-
- repo: https://github.com/Agilicus/pre-commit-hook-k8svalidate
21-
rev: v0.0.1
20+
- repo: https://github.com/Agilicus/pre-commit-hook-k8svalidate.git
21+
rev: v0.0.2
2222
hooks:
2323
- id: k8svalidate
2424
args: [--exclude, "*.patch.yaml"]

0 commit comments

Comments
 (0)