View on GitHub

check-spelling-docs

Documentation for check-spelling

Subrepos

Submodules enable a git repository to reference other git repositories.

Disclaimers

Workaround

If you need something before this feature is implemented, you can basically remove the .git directory, do a git init, a git add ., and a git commit before check-spelling runs.

See https://github.com/Lombiq/GitHub-Actions/blob/50a53552bd3e62309cf44ce962fe0fd41abe28ba/.github/workflows/spelling.yml#L70-L79

Implementation

v0.0.25 includes initial support for submodules.

Whether you use actions/checkout yourself or use checkout, you can add submodules:

with:
  submodules: true

or

with:
  submodules: recursive

to the check-spelling configuration to enable check-spelling to check files in submodules.

If using checkout, check-spelling will try to check out your submodules (it has some additional code to avoid tripping on broken submodules, because this stuff is a mess).

check-spelling will list files from submodules and check them as long as they aren't excluded by your normal excludes configuration.

Files with issues will have annotated links to their origin repositories.

SARIF reports will include their paths, but GitHub will not be happy about them because the files are not part of the main repository. (Other tools that consume the files should be happy as long as they are present in your working repository.)


FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts