From 05031c2b81c862f5466982e84efc7aacc3b38895 Mon Sep 17 00:00:00 2001 From: Alex Apostolescu Date: Sun, 15 Dec 2024 11:20:14 +0200 Subject: [PATCH] add typos typos Signed-off-by: Alex Apostolescu --- .github/.typos.toml | 6 ++++++ .github/workflows/actions.yml | 13 ++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 .github/.typos.toml diff --git a/.github/.typos.toml b/.github/.typos.toml new file mode 100644 index 0000000000..9c64166132 --- /dev/null +++ b/.github/.typos.toml @@ -0,0 +1,6 @@ +[default.extend-words] +# word1 = "word2" to correct word1 to word2 +# word3 = "word3" to consider word3 a valid word +VAS = "VAS" +[files] +extend-exclude = ["*.svg", "*.drawio"] diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a165ae4761..ce6aafc52a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -24,13 +24,12 @@ jobs: with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - misspell: - name: misspell + typos: + name: Typos runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: misspell - uses: reviewdog/action-misspell@v1 + - name: Typos + uses: open-education-hub/actions/typos@add-typos-linter with: - locale: "US" - level: "info" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CONFIG_FILE: .github/.typos.toml