Fix typos nightly #321
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
name: Fix typos nightly | |
on: | |
schedule: | |
- cron: "0 12 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run codespell | |
continue-on-error: true | |
run: | | |
sudo apt-get install codespell -y | |
codespell -w --skip="*.pb.go,*.pb.gw.go,*.json,*.git,*.js" --ignore-words=.github/.codespellignore | |
- uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.PRBOT_PAT }} | |
commit-message: "chore: spelling errors fixes" | |
title: "chore: fix spelling errors" | |
branch: "bot/fix-typos" | |
delete-branch: true | |
body: | | |
This PR fixes typos in the codebase. | |
Please review it, and merge if everything is fine. | |
If there are proto changes, run `make proto-gen` and commit the changes. |