Skip to content

Commit

Permalink
add ignore patterns for spellcheck_all (#246)
Browse files Browse the repository at this point in the history
* add ignore patterns

* delete needless
  • Loading branch information
h-ohta committed Aug 27, 2021
1 parent 33987f2 commit 103a4d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/spell_check_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Check spelling (all files)

on:
workflow_dispatch:
inputs:
ignore_patterns:
description: "ignore patterns (ex. *.svg|*.osm)"
required: false

jobs:
spellcheck:
Expand Down Expand Up @@ -31,5 +35,5 @@ jobs:
# Ex. "**/!(*.osm|*.svg|CHANGELOG.rst)"
./node_modules/.bin/cspell \
--config .github/workflows/.cspell.json \
"**/!(dummy)" \
"**/!(${{ github.event.inputs.ignore_patterns }})" \
2> /dev/null

0 comments on commit 103a4d0

Please sign in to comment.