Skip to content

Commit

Permalink
add pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Dec 4, 2024
1 parent c60f481 commit 9a6ed2b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@
entry: bash -c 'find . -name Chart.yaml | xargs -I% bash -c "dirname %" | xargs -t -I% bash -c "helm template % | kubepug --error-on-deprecated --error-on-deleted --input-file=-"'
language: system
pass_filenames: false
- id: md-toc
name: Markdown Table of Contents
entry: >-
bash --eu -o pipefail -c
for f in $@; do
markdown-toc -i "${f}";
done
language: system

0 comments on commit 9a6ed2b

Please sign in to comment.