From 248f2116d504c0aa1761dbf7fc382816214e51f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 5 Nov 2024 20:17:17 +0100 Subject: [PATCH] github: add codespell check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Göttsche --- .github/workflows/lint-policy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/lint-policy.yml b/.github/workflows/lint-policy.yml index f7004ce631..69aceadea0 100644 --- a/.github/workflows/lint-policy.yml +++ b/.github/workflows/lint-policy.yml @@ -71,3 +71,17 @@ jobs: - name: Run file context checker run: python${{ inputs.python-version }} -t -t -E -W error testing/check_fc_files.py + + codespell: + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update -q + sudo apt-get install -qy codespell + + - name: Run codespell + run: codespell --skip Changelog,Changelog.contrib,Changelog.old --ignore-words-list busses,chage,doesnt,lik,msdos,nd,racoon,shouldnt,startd,te,thats,xwindows --context 1 .