Spell Check #12507
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: Spell Check | |
| on: | |
| schedule: | |
| - cron: '0 2 * * *' # Run daily at 2 AM UTC | |
| workflow_dispatch: # Allow manual triggering | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Install codespell | |
| run: pip install codespell | |
| - name: Run codespell and apply fixes | |
| run: | | |
| codespell \ | |
| --write-changes \ | |
| ApplicationExeCode/ \ | |
| ApplicationLibCode/ \ | |
| Fwk/AppFwk/ \ | |
| GrpcInterface/ \ | |
| || true | |
| - uses: peter-evans/create-pull-request@v8 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: "Fixes by codespell" | |
| title: "Typos fix by codespell" | |
| branch: spell-check-patches | |
| branch-suffix: random |