diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml new file mode 100644 index 00000000..5ef5a5a7 --- /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