Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chores] Update spell checker #7721

Merged
merged 5 commits into from
Dec 18, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/spell-checker.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
name: Fix typos nightly
name: Spell Check

on:
workflow_dispatch: {} # enable manual running of workflow.
pull_request:
schedule:
DimitrisJim marked this conversation as resolved.
Show resolved Hide resolved
- cron: "0 8 * * *"
- cron: "0 12 * * *"

permissions:
contents: write
pull-requests: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: sobolevn/misspell-fixer-action@26173e641ba08255d0c9826b8a873f8b96f76932
- 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,*.h,*.bin,go.sum,go.mod,.github" --ignore-words=.github/.codespellignore
- uses: peter-evans/create-pull-request@v7
DimitrisJim marked this conversation as resolved.
Show resolved Hide resolved
if: github.event_name != 'pull_request'
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: fixes by misspell-fixer"
title: "chore: typos fix by misspell-fixer"
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, please, run `make proto-all` and commit changes.
Please review it, and merge if everything is fine.
If there are proto changes, run `make proto-gen` and commit the changes.
Loading