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@v7 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