Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/cspell/local-dict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Project-specific words missing from shared dictionaries.
Gruthkel
Gruthkel's
8 changes: 6 additions & 2 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || github.ref }}
fetch-depth: 0

- name: Fetch config file and dictionaries
run:
Expand All @@ -33,9 +34,12 @@ jobs:
${{ env.CONFIG_URL }}/extra-en-dict.txt
${{ env.CONFIG_URL }}/contribs-dict.txt

- name: Append local dictionary overrides
run: cat .github/cspell/local-dict.txt >> pob-dict.txt

- name: Run cspell
uses: streetsidesoftware/cspell-action@v7
with:
files: '**' # needed as workaround for non-incremental runs (overrides in config still work ok)
config: "cspell.json"
incremental_files_only: ${{ github.event_name != 'workflow_dispatch' }}
incremental_files_only: false
Loading