From d95497bb2c11c0b2e9e39378c2bd7cd1701d46d9 Mon Sep 17 00:00:00 2001 From: Cezar Craciunoiu Date: Fri, 27 Oct 2023 15:07:05 +0300 Subject: [PATCH] feat(workflows): Enable code spellchecking Signed-off-by: Cezar Craciunoiu --- .github/workflows/spellcheck.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/spellcheck.yaml diff --git a/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml new file mode 100644 index 0000000000..5c11348ad1 --- /dev/null +++ b/.github/workflows/spellcheck.yaml @@ -0,0 +1,22 @@ +name: spellcheck + +on: + pull_request: + types: [opened, synchronize, reopened] + branches: [staging] + +jobs: + spell-check: + runs-on: ubuntu-latest + name: Check Spelling + steps: + - uses: actions/checkout@v4 + - uses: check-spelling/check-spelling@v0.0.22 + with: + extra_dictionaries: + cspell:golang/go.txt + cspell:cpp/cpp.txt + # dictionary_source_prefixes: > + # { + # "unikraft": "https://raw.githubusercontent.com/unikraft/spell-dicts/master/dictionaries/" + # } \ No newline at end of file