Implement walking of directories #12
git-commit-message-style.yml
on: push
Check commit message style
3s
Annotations
1 error and 1 warning
Check commit message style
The message 1 is invalid:
* The line 8 of the message (line 6 of the body) exceeds the limit of 72 characters. The line contains 78 characters: "Also set the default to '.' (i.e. recursively checking the current directory).". Please reformat the body so that all the lines fit 72 characters.
* The line 16 of the message (line 14 of the body) exceeds the limit of 72 characters. The line contains 77 characters: "file extensions (tree-sitter's language detection also uses regexps, but none". Please reformat the body so that all the lines fit 72 characters.
The original message was:
Implement walking of directories
Recurse into directories using BurntSushi's walkdir crate. This means
the following is now possible:
unicop src/
Also set the default to '.' (i.e. recursively checking the current directory).
I've read in the documentation that tree-sitter actually has a
language-detection framework that grammars can plug into, but
unfortunately, it doesn't seem to be exposed in the library.
It might still be a good idea to adopt it, as it will make it easier to
add new languages.
This commit contains a stripped-down version that only look at
file extensions (tree-sitter's language detection also uses regexps, but none
of the current grammars define any.)
|
Check commit message style
The following actions uses Node.js version which is deprecated and will be forced to run on node20: gsactions/commit-message-checker@16fa2d5de096ae0d35626443bcd24f1e756cafee. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|