From 103a4d07e7af716c243b269b4552bc3b771c4e5a Mon Sep 17 00:00:00 2001 From: Hiroki OTA Date: Fri, 27 Aug 2021 18:41:51 +0900 Subject: [PATCH] add ignore patterns for spellcheck_all (#246) * add ignore patterns * delete needless --- .github/workflows/spell_check_all.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spell_check_all.yml b/.github/workflows/spell_check_all.yml index 7841942f65a6..341bc91e9a48 100644 --- a/.github/workflows/spell_check_all.yml +++ b/.github/workflows/spell_check_all.yml @@ -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: @@ -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