Skip to content

Commit

Permalink
[Actions] Add spell checker
Browse files Browse the repository at this point in the history
 - Add spell checker github actions.

Signed-off-by: gichan2-jang <[email protected]>
  • Loading branch information
gichan-jang committed Jul 1, 2024
1 parent b47a3b3 commit 66d35a1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/spell-checker.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# NNStreamer <img align="right" src="Documentation/media/lfaidata-project-badge-incubation-black.svg" width="150"/>
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/)
Expand Down
5 changes: 5 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[files]
extend-exclude = ["tests/test_models/models/*", "tests/test_models/labels/*", "tests/test_models/data/*"]

[default.extend-words]
mosquitto = "mosquitto"

0 comments on commit 66d35a1

Please sign in to comment.