Skip to content

Commit e17fb14

Browse files
committed
t
1 parent ab69b96 commit e17fb14

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

.github/workflows/spelling.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,30 @@ jobs:
7676
7777
- name: Run Spellcheck
7878
if: steps.changed-text-files.outputs.any_changed == 'true'
79-
id: spellcheck
80-
uses: rojopolis/spellcheck-github-actions@v0
79+
id: spelling
80+
uses: check-spelling/check-spelling@v0.0.24
8181
with:
82-
task_name: Markdown
83-
source_files: ${{ steps.changed-text-files.outputs.all_changed_files }}
84-
config_path: .github/workflows/spellcheck.yaml
85-
82+
# This workflow runs in response to both `push` and `pull_request`, if there's an open `pull_request` in the same repository
83+
# for a given branch, there's no reason to spend resources checking both the `push` and the `pull_request`, so this flag tells
84+
# the action while running for the `push` to find the `pull_request` and stop working early:
85+
suppress_push_for_open_pull_request: 1
86+
# The action will manage checking out the repository itself instead of requiring the workflow to use `actions/checkout...`:
87+
#checkout: true
88+
# If running without `: write`, posting a comment won't work, and for security `: write` permissions are left to a distinct
89+
# (optional) job, here we skip trying to post a comment:
90+
post_comment: 0
91+
use_magic_file: 1
92+
extra_dictionary_limit: 10
93+
extra_dictionaries:
94+
cspell:software-terms/software-terms.txt
95+
cspell:php/php.txt
96+
cspell:node/node.txt
97+
cspell:django/django.txt
98+
cspell:html/html.txt
99+
cspell:npm/npm.txt
100+
cspell:ruby/ruby.txt
101+
cspell:fullstack/fullstack.txt
102+
cspell:filetypes/filetypes.txt
103+
check_extra_dictionaries: ''
104+
dictionary_source_prefixes: >-
105+
{"cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20241114/dictionaries/"}

0 commit comments

Comments
 (0)