-
Notifications
You must be signed in to change notification settings - Fork 133
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
CI: add spellchecking with codespell #287
Conversation
@artem-sidorenko I have correted the past PRs so the Changelog will be regenerated with the corrections applied. Merging is up to oyu, since you are active here at the moment. I have added the Action to the security list, hope that is ok. |
@schurzi many thanks! The intention is to run it on the master branch? Any idea how this is going to work with changelog generator, hence the source are issues/prs and not the file on the master branch? |
This configuration will check all PRs directed on master and all direct commits done on master. My thought was, that the automatic changelog generator will update the file on master branch and when there are spelling errors a maintainer will get a mail with the failed checks. Then we would need to correct the spelling in the offending issue/pr and the next time, the changelog is generated, it is fixed. I know this is not optimal, but I have no better approach to check all issue and pr titles before generating the changelog and checking it into master. Maybe we can improve the workflow, once we have more experience with it :) |
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
63c64e0
to
9c839cc
Compare
are this checks part of gh action? I mean, can we integrate it into PR workflow? We would "fix" the master and ensure all new things are passing the spellchecker? |
Yes. The current config defines it as part of PR workflow. The spellcheck will run with every PR that is opened on master and will prevent new spelling errors from files in commits. see for example here: https://github.com/dev-sec/ansible-collection-hardening/pull/667/checks |
@schurzi many thanks for you all your explanations :-) I see, somebody already fixed the PR titles😁 |
No description provided.