Skip to content

Commit

Permalink
feat(workflows): Enable code spellchecking
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Oct 27, 2023
1 parent 0d09e39 commit 141be6b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: spellcheck

on:
pull_request:
types: [opened, synchronize, reopened]
branches: [staging]

jobs:
spell-check:
runs-on: ubuntu-latest
name: Check Spelling
steps:
- name: Create filter file
run: |
echo "\.md$" > only.txt
echo "\.go$" >> only.txt
- uses: check-spelling/[email protected]
with:
checkout: true
check_file_names: 1
extra_dictionaries:
cspell:golang/go.txt
cspell:cpp/cpp.txt
# unikraft:kraftkit/kraftkit.txt
# dictionary_source_prefixes: >
# {
# "unikraft": "https://raw.githubusercontent.com/unikraft/spell-dicts/master/dictionaries/"
# }

0 comments on commit 141be6b

Please sign in to comment.