From 66e3896dc066038fd7aeac10e0a34de3b552e71e Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Tue, 13 May 2025 11:20:46 +0300 Subject: [PATCH] [ci] Add spelling checks --- .github/workflows/spelling.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/spelling.yml diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml new file mode 100644 index 0000000..5ef5a5a --- /dev/null +++ b/.github/workflows/spelling.yml @@ -0,0 +1,26 @@ +name: Spellcheck PR Diff + +on: + pull_request: + branches: + - master + +jobs: + spellcheck: + name: Spellcheck PR Diff + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install aspell + run: | + sudo apt-get install -y aspell aspell-en + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11 + - uses: compiler-research/git-spell-check@master + - name: Setup tmate session + if: ${{ !cancelled() && runner.debug }} + uses: mxschmitt/action-tmate@v3 + # When debugging increase to a suitable value! + timeout-minutes: 30