Run from command line
A number of users want to be able to run check-spelling without needing to rely on GitHub Actions.
Implementation
unknown-words.sh has been adjusted so that if it doesn't find enough of a GitHub environment, it will emulate the pieces it's missing.
t/UnknownWords.sh includes test coverage to ensure that the feature should work going forward.
Using check-spelling without GitHub workflows
- clone https://github.com/check-spelling/check-spelling/ and check out a branch with support (
@prerelease, orv0.0.23+) cdto a directory containing a.gitrepository that you'd like to checkexport INPUTS='$WITH_PARAMETERS_FOR_CHECK_SPELLING_ACTION_AS_JSON'to specify any fields that would normally be specified usingwith:. (See Configuration for parameter documentation.)- e.g. you could use
INPUTS='{"config":".gitea/actions/spelling"}'to specify the check-spelling metadata directory.
- e.g. you could use
- run
$PATH_TO_CHECK_SPELLING_REPOSITORY/unknown-words.sh - review the output.
More information
For more information, see the tests (t/UnknownWords.t).
FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts