From 2ae0e05255ee78bb83924e3bcda6902d9b8faa84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Thu, 11 Apr 2024 12:08:27 +0800 Subject: [PATCH] ci: typos --- .github/workflows/pr-spelling.template.yml | 13 +++++++++++++ .github/workflows/typos-config.toml | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/pr-spelling.template.yml create mode 100644 .github/workflows/typos-config.toml diff --git a/.github/workflows/pr-spelling.template.yml b/.github/workflows/pr-spelling.template.yml new file mode 100644 index 0000000000..47f3069ebe --- /dev/null +++ b/.github/workflows/pr-spelling.template.yml @@ -0,0 +1,13 @@ +name: pr-spell-check +on: [pull_request] + +jobs: + run: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check spelling + uses: crate-ci/typos@master + with: + config: .github/workflows/typos-config.toml \ No newline at end of file diff --git a/.github/workflows/typos-config.toml b/.github/workflows/typos-config.toml new file mode 100644 index 0000000000..d4627b46ca --- /dev/null +++ b/.github/workflows/typos-config.toml @@ -0,0 +1,12 @@ +[default.extend-words] +actived = "actived" +formated = "formated" +formate = "formate" +Colum = "Colum" +ba = "ba" +ded = "ded" +thead = "thead" +ans = "ans" + +[files] +extend-exclude = ["CHANGELOG.md"]