From 90a9a5393d7bd0590f369536fac3b6650b27e078 Mon Sep 17 00:00:00 2001 From: LiZhenCheng9527 Date: Mon, 2 Sep 2024 17:20:57 +0800 Subject: [PATCH] add code spell check Signed-off-by: LiZhenCheng9527 --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..b80fef7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@v2