This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Merge pull request #215 from RealBauHD/fix/insert #370
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Check Spelling" | |
| on: | |
| push: | |
| branches: ["**"] | |
| tags-ignore: ["**"] | |
| pull_request: | |
| env: | |
| PYTHON_VERSION: "3.13" | |
| jobs: | |
| check-spelling: | |
| # Only run on PRs if the source branch is on someone else's repo | |
| if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "setup python" | |
| uses: "KyoriPowered/.github/.github/actions/setup-python-env@trunk" | |
| with: | |
| runtime_version: "${{ env.PYTHON_VERSION }}" | |
| activate_venv: true | |
| - name: "setup python / spelling problem matcher" | |
| run: | | |
| echo "::add-matcher::.github/sphinx-spelling-matcher.json" | |
| - name: "run spellcheck" | |
| run: "make spelling" | |