From 66d35a1252615238e0e699e980da4c5db02cb4f9 Mon Sep 17 00:00:00 2001 From: gichan2-jang Date: Mon, 1 Jul 2024 09:07:24 +0900 Subject: [PATCH] [Actions] Add spell checker - Add spell checker github actions. Signed-off-by: gichan2-jang --- .github/workflows/spell-checker.yml | 20 ++++++++++++++++++++ README.md | 1 + _typos.toml | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 .github/workflows/spell-checker.yml create mode 100644 _typos.toml diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml new file mode 100644 index 0000000000..e97bf19ffe --- /dev/null +++ b/.github/workflows/spell-checker.yml @@ -0,0 +1,20 @@ +name: Spell Check + +on: + pull_request: + branches: [ main ] + +jobs: + typos-check: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v4 + - name: Check spelling + uses: crate-ci/typos@master + + - name: Writes changes in the local checkout + uses: crate-ci/typos@master + with: + write_changes: true diff --git a/README.md b/README.md index c51cf19ba7..e0851ea57c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # NNStreamer +Helllo worlds, check spel checker worc corectelly. [![Gitter][gitter-image]][gitter-url] [![DailyBuild](http://ci.nnstreamer.ai/nnstreamer/ci/daily-build/badge/daily_build_badge.svg)](http://ci.nnstreamer.ai/nnstreamer/ci/daily-build/build_result/) diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000000..127d93504d --- /dev/null +++ b/_typos.toml @@ -0,0 +1,5 @@ +[files] +extend-exclude = ["tests/test_models/models/*", "tests/test_models/labels/*", "tests/test_models/data/*"] + +[default.extend-words] +mosquitto = "mosquitto"