-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a spellchecker #127
base: master
Are you sure you want to change the base?
Add a spellchecker #127
Conversation
This looks like a good idea to me, I'll try to have a look at what the failures are. Might prevent me from introducing loads of grammar mistakes, Which is always a positive. |
5bca523
to
4c1c2fa
Compare
Seems that we need to add |
I don't think it's feasible just by changing the yaml configuration. The error message gives this link: https://docs.github.com/en/rest/reference/checks#create-a-check-run
I may be wrong but I think it is a permission issue. |
TypoCI is being shut down, as explained by its author here: https://mikerogers.io/2021/05/23/saying-goodbye-to-typo-ci Also, there are other alternatives that don't require installing a Github App (thus will be easier to add confidently). |
Oh, do you know of any and maybe could propose a PR? |
There are a few alternatives on Github Actions marketplace, like this one https://github.com/marketplace/actions/github-spellcheck-action Regarding CLI tools, hunspell or aspell could do the trick. In particular, it's easy to get a French dictonnary for those. In both cases, I'm not sure if the action will add annotations to the source code file. Manual handling might be required for those, see https://github.com/Attest/annotations-action for an example. |
Update: I may have spoken a bit too fast on this, it seems only the Github App was discontinued. TypoCI/spellcheck-action#129 |
Hi,
What do you think about adding a spellchecker to the CI?
I don't have any experience with these tools in this particular context yet, but TypoCI/spellcheck-action was pretty easy to set up.
I also got inspiration from the php/doc-ru spellcheck workflow.