From 17a37d3983a5f842bc86c1c6f14f37394d11f843 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 10 Jul 2024 11:30:49 -1000 Subject: [PATCH] btrfs-progs: ci: add action to codespell devel on push and PRs Run spellchecking on devel branch on push or on a pull-request. Author: Yaroslav Halchenko Signed-off-by: David Sterba --- .github/workflows/codespell.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 00000000..b0ee9c94 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,25 @@ +# Codespell configuration is within .codespellrc +--- +name: Codespell + +on: + push: + branches: [devel] + pull_request: + branches: [devel] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Annotate locations with typos + uses: codespell-project/codespell-problem-matcher@v1 + - name: Codespell + uses: codespell-project/actions-codespell@v2