Closed LeiWang1999 closed 2 years ago
Test pull request and currently unrecognized words can be reviewed at intentional typo.
words' location can be found at action runs
Please CC @wenxcs
/azp run
/azp run
Now I had tried my best to fix the typo of nnfusion, a lot of words are append to the whitelist and a lot of words are fixed. The Github Action bot can work well. It's tested in this pr.
Please CC @wenxcs
/azp run
An automatic github action solution for typo inspection.
Description
Refer to this comment, inspection for spelling is a trouble work, this pr gives a github action solution.
This pull request takes insight from microsoft terminal repo, issue 4473, github action check-spelling, we use the latest released version 0.0.19(the same version used in microsoft terminal).
And a macos .DS_Store gitignore addition.
Type of change
How Has This Been Tested?
I made a private repository to test the github action workload, check-spelling will work on both stage of pull request and push.
Future work
protobuf
、ONNX
or contributors' names likeLeiWang1999
) should be appended into the.github/actions/allow/allow.txt
or.github/actions/allow/*.txt
(all files in allow directory will be merged) when processing.I created a bit of white list to cover some simple words, for example,
nnfusion
,microsoft
.etc . But it's quite a dirty work! The unrecognized words in nnfusion is not a little (the dictionary will have about 1000 words? I guess), maybe we need some volunteers to cover this work.