Ensure client is initialized with auto shards (tbh i didnt know it ex… #24
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: Typo Check CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| run: | |
| name: Spell Check with Typos | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check spelling of SRC folder | |
| uses: crate-ci/typos@master | |
| with: | |
| files: ./src | |
| write_changes: true # Write changes if typos are detected | |
| - name: Create pull request | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| token: ${{ secrets.GIT_PAT }} | |
| commit-message: "Fix typos detected by typos GitHub action" | |
| signoff: false | |
| branch: typos-fix | |
| delete-branch: true | |
| title: "Fix typos" | |
| body: | | |
| Fixed typos | |
| - This pull request fixes typos detected by the typo-check GitHub action. | |
| labels: typo | |
| assignees: IMXNOOBX |