Upcoming changes will result in pull_request_target blocked by default December 2, 2026.
Temporary workaround
-
Visit https://github.com/organizations/:org-name/settings/actions/rules
-
Click
New policy -
Click
Import rulesetUpload the following ruleset (you can adjust it to match your repository layout):`check-spelling-ruleset.json`
{ "name": "allow check-spelling to work", "target": "actions", "source_type": "Organization", "enforcement": "active", "conditions": { "repository_name": { "exclude": [], "include": [ "~ALL" ] }, "workflow_path": { "exclude": [], "include": [ ".github/workflows/spelling*.yml" ] } }, "rules": [ { "type": "restrict_action_events", "parameters": { "allowed_events": [ "issue_comment", "pull_request", "pull_request_target", "push", "workflow_run" ] } } ], "bypass_actors": [] }
Future
check-spelling prerelease includes support for a split workflow:
-
spelling.yml-- readonly permissions:permissions: contents: read pull-requests: read actions: read -
spelling-workflow-run.yml-- write permissions:pull-request: name: Report (PR) runs-on: ubuntu-slim permissions: actions: read pull-requests: write security-events: writeIf you aren't using the
pushcomment block, you'd remove that from the workflow.
A v0.0.27 release should come by Sunday, November 29, 2026.
FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts