we use "ue" for the short of "update_expressions", before we change our minds and use a more readable name, let's add "ue" to the "ignore_word_list" option of the codespell. also, use the abslolute path in "skip" option. as the absolute paths are also used by codespell's own github workflow. and we are still observing codespell github workflow is showing the misspelling errors in our "test/" directory even we have it listed in "skip". so this change should silence them as well. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#16593
19 lines
434 B
YAML
19 lines
434 B
YAML
name: codespell
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- enterprise
|
|
permissions: {}
|
|
jobs:
|
|
codespell:
|
|
name: Check for spelling errors
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: codespell-project/actions-codespell@master
|
|
with:
|
|
only_warn: 1
|
|
ignore_words_list: "ser,ue,crate"
|
|
skip: "./.git,./build,./tools,*.js,*.thrift,*.lock,./test"
|