After switching my blogs to a static blogging engine, I found a number of preventable issues. Certain syntax errors, forgot tags, or forgot a description, or forgot a preview picture, or forgot an image. This kind of things. So I wrote check-markdown-files.py, which now scans all my blog postings before committing the posting to git. Any known error is raised, and aborts the commit. Each problem has an override switch in case it is a false positive.
Posted by ads' corner on Monday, July 28, 2025
If you use GitHub Actions to run Workflows and tests, you might have spotted a deprecation warning recently.
Posted by ads' corner on Friday, January 13, 2023
If you use GitHub Actions to run Workflows and tests, you might have spotted a deprecation warning recently.
Posted by ads' corner on Tuesday, January 10, 2023
A very common use case for hooks in git is a pre-commit hook. This hook is used to verify the to-be-committed data before it is added to the repository.
Posted by ads' corner on Sunday, October 25, 2020