diff --git a/.forgejo/workflows/typos.yml b/.forgejo/workflows/typos.yml new file mode 100644 index 0000000..fb2695f --- /dev/null +++ b/.forgejo/workflows/typos.yml @@ -0,0 +1,23 @@ +name: Spell Check with typos + +on: + push: + branches: + - main + +jobs: + typos: + name: Check for typos + runs-on: docker + steps: + - name: Checkout repository + run: | + git clone --depth 1 https://token:${{ secrets.ACTIONS_TOKEN }}@gugulet.hu/technical/git/g_it/site.git . + cd site || true + + - name: Install typos + run: | + apt-get update && apt-get install -y cargo + cargo install typos-cli + - name: Run typos + run: typos diff --git a/.vale.ini b/.vale.ini index 3d9666e..7070b40 100755 --- a/.vale.ini +++ b/.vale.ini @@ -3,4 +3,5 @@ MinAlertLevel = warning Packages = https://gugulet.hu/technical/git/g_it/vale/raw/branch/main/gugulet-hu.zip [*.{adoc,html,md}] +BasedOnStyles = Google, Readability, write-good, proselint gugulet-hu = YES diff --git a/.vale/gugulet-hu/Spelling.yml b/.vale/gugulet-hu/Spelling.yml index c2592ce..34843e6 100644 --- a/.vale/gugulet-hu/Spelling.yml +++ b/.vale/gugulet-hu/Spelling.yml @@ -2,7 +2,7 @@ extends: spelling message: "Spelling error: '%s' is not a recognized word." level: error ignore: | - (?i) - gugulet - mlungisi - yourname + (?i) + gugulet + mlungisi + yourname