diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..4c58b52f --- /dev/null +++ b/.codespellrc @@ -0,0 +1,5 @@ +[codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = .git,.codespellrc +# ignore-regex = +# ignore-words-list = diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..eeaceadf --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +# Codespell configuration is within .codespellrc +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@v2 diff --git a/DistroLauncher/Helpers.cpp b/DistroLauncher/Helpers.cpp index 524e8b62..c751745c 100644 --- a/DistroLauncher/Helpers.cpp +++ b/DistroLauncher/Helpers.cpp @@ -20,7 +20,7 @@ std::wstring Helpers::GetUserInput(DWORD promptMsg, DWORD maxCharacters) input = inputBuffer.get(); } - // Throw away any additional chracters that did not fit in the buffer. + // Throw away any additional characters that did not fit in the buffer. wchar_t wch; do { wch = getwchar();