From 27cdf56207ca990bf64be041dc80858b92d14c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Thu, 15 Feb 2024 17:12:58 -0300 Subject: [PATCH] Add spellchecker job --- .github/workflows/docs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 000000000..f437cd536 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,24 @@ +name: Docs + +on: + push: + branches: [ main ] + pull_request: + branches: [ '*' ] + # NOTE: these paths should be the same as the ones in docs_skipped.yml + paths: + - 'docs/**' + - 'README.md' + +# Cancel old runs on the same branch (except on main) +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + +jobs: + spellcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Spellcheck + uses: igsekor/pyspelling-any@v1.0.4