Add code spell check github workflow#573
Conversation
Signed-off-by: 923048992@qq.com <923048992@qq.com>
|
I also use this action in my repo. The check process is very rapid. It will not affect other CI/CD. BTW, i have fixed some typo erros, according to the report. |
Codecov ReportAttention: Patch coverage is
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
|
should ignore codecov here. |
hzxuzhonghu
left a comment
There was a problem hiding this comment.
Can we use golangcilint misspell https://golangci-lint.run/usage/linters/#misspell.
Maybe it just check the misspell of go files? There are some typo errors in .c files too. Some of them are even fatal, like using Maybe we need to check all kinds of files? |
|
Good to know, make sense then |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hzxuzhonghu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@hzxuzhonghu This patch fixes many typo errors which should not be tested. So the codecov should be ignored here. |
What type of PR is this?
feature
What this PR does / why we need it:
Current there are many spelling errors in kmesh, we need an automatic way to check spelling errors.
We can config what we don't need to check in .codespellrc.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: