mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-05-20 01:32:33 +02:00
Add commit hook & markdown scripts
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
pre-commit:
|
||||
piped: true
|
||||
commands:
|
||||
inject-exec-basics:
|
||||
glob: "docs/basics.md"
|
||||
run: python3 .github/scripts/inject-exec.py {staged_files}
|
||||
stage_fixed: true
|
||||
inject-exec:
|
||||
glob: "README.md"
|
||||
run: python3 .github/scripts/inject-exec.py {staged_files}
|
||||
stage_fixed: true
|
||||
toc:
|
||||
glob: "README.md"
|
||||
run: doctoc --notitle {staged_files}
|
||||
stage_fixed: true
|
||||
Reference in New Issue
Block a user