Merge remote-tracking branch 'origin-root/main' #20
This file contains 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
# A Github action that using codespell to check spelling. | |
# see .codespell/* for configs | |
# https://github.com/codespell-project/codespell | |
name: codespell | |
on: | |
# Triggers the workflow on push or pull request against main | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install codespell requirements | |
run: pip install -r ./.codespell/requirements.txt | |
- name: Spell check | |
run: codespell --config=./.codespell/.codespellrc |