feat: add pre-commit-check script to run repo/system/global pre-commit hook#720
Merged
Conversation
b315d03 to
e81fdbb
Compare
credfeto
approved these changes
Jul 12, 2026
…t hook Resolves which pre-commit hook to use — repo's own .git/hooks/pre-commit, then system core.hooksPath, then global core.hooksPath — and runs it with --all-files. Prompt: can you create me a script, in the development folder a that will run the pre-commit... however there's a wrinkle. if the CWD is in a repo, and that repo has pre-commit configured we should run repo's pre-commit (if configured). Otherwise we should look for the system pre-commit or the global pre-commit and run that. each pre-commit should run the ``pre-commit --all-files``. Any questions?
README.md had two top-level H1 headings (Git, Ethereum) — demoted to H2 so the doc has a single title. db/README.md was missing blank lines around headings/lists/fences and language identifiers on fenced blocks. Prompt: run the pre-commit-check and fix the issues until its clean
3fc6377 to
6ef4e12
Compare
Owner
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
How Has This Been Tested
Types of changes
functionality to change)
Deployment Configuration Changes
Checklist