From 7c23933b8b1aaf1a15c056b59929f17fe113e4b1 Mon Sep 17 00:00:00 2001 From: David Ko Date: Wed, 7 Feb 2024 22:58:15 +0800 Subject: [PATCH] Create codespell.yml Signed-off-by: David Ko --- .github/workflows/codespell.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..006bc5c --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,24 @@ +name: Codespell + +on: + push: + pull_request: + branches: + - master + - main + - "v*.*.*" + +jobs: + codespell: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 1 + - name: Check code spell + uses: codespell-project/actions-codespell@v2 + with: + check_filenames: true + ignore_words_file: .codespellignore + skip: "*/**.yaml,*/**.yml,./scripts,./vendor,MAINTAINERS,LICENSE,go.mod,go.sum"