Fix path to crds.go file in codespell config (#3185)

This changes the codespell action config to use a relative path for the
generated crds.go file as the current pattern used fails the check used
by codespell (which uses the `fnmatch` module).

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
This commit is contained in:
Bridget McErlean
2020-12-14 19:57:41 -05:00
committed by GitHub
parent 73693de5a3
commit 5c4f33b317

View File

@@ -14,7 +14,7 @@ jobs:
uses: codespell-project/actions-codespell@master uses: codespell-project/actions-codespell@master
with: with:
# ignore the config/.../crd.go file as it's generated binary data that is edited elswhere. # ignore the config/.../crd.go file as it's generated binary data that is edited elswhere.
skip: .git,*.png,*.jpg,*.woff,*.ttf,*.gif,*.ico,config/crd/crds/crds.go skip: .git,*.png,*.jpg,*.woff,*.ttf,*.gif,*.ico,./config/crd/crds/crds.go
ignore_words_list: iam,aks,ist,bridget,ue ignore_words_list: iam,aks,ist,bridget,ue
check_filenames: true check_filenames: true
check_hidden: true check_hidden: true