View on GitHub

check-spelling-docs

Documentation for check-spelling

Restricted Permissions

⚠️ Versions before v0.0.26 are broken

If you are running a version prior to v0.0.26, you will erroneously receive this message. Please upgrade to v0.0.26 or newer.

You should see a notice hinting about this of the form:

⚠️ Found note for version 0.0.25: 'If you accept PRs from forks, they won't work. Please upgrade to https://github.com/check-spelling/check-spelling/releases/v0.0.26'

History

Included in v0.0.20

GitHub introduced permissions for GITHUB_TOKEN which enables one to restrict tokens to just the necessary permissions.

check-spelling has a couple of distinct phases that have differing requirements.

It's better from a security perspective to use "least privilege".

Requirements by phase

checking

commenting

updating branches

Workflow

Known issues

⚠️ Versions before v0.0.26 are broken - checks for forks always fail

As of April 2026, GitHub recently changed its API response for one of the checks that check-spelling used to identify write-access. Unfortunately this means that check-spelling will refuse to run on any PRs from cross repository forks.


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