Skip to content

Commit 32cabef

Browse files
committed
ci: use codespell instead of misspell-fixer
1 parent f476445 commit 32cabef

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.github/.codespellignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cips
2+
pullrequest
3+
keypair
4+
stStr
5+
pastTime
6+
everytime

.github/.misspell-fixer.ignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/misspell.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,27 @@ name: Fix typos nightly
22

33
on:
44
schedule:
5-
- cron: "0 8 * * *"
5+
- cron: "0 12 * * *"
66

77
jobs:
88
build:
99
runs-on: ubuntu-latest
1010

1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: sobolevn/misspell-fixer-action@e5368f1b21585248afad4d32df9bc100451dbbff
13+
- name: Run codespell
14+
continue-on-error: true
15+
run: |
16+
sudo apt-get install codespell -y
17+
codespell -w --skip="*.pulsar.go,*.pb.go,*.pb.gw.go,*.cosmos_orm.go,*.json,*.git,*.js,crypto/keys,fuzz,*.h" --ignore-words=".github/.codespellignore"
1418
- uses: peter-evans/create-pull-request@v5
1519
with:
1620
token: ${{ secrets.PRBOT_PAT }}
17-
commit-message: "chore: fixes by misspell-fixer"
18-
title: "chore: typos fix by misspell-fixer"
21+
commit-message: "chore: fixes by cosmos-sdk bot"
22+
title: "chore: typos fixes by cosmos-sdk bot"
1923
branch: "bot/fix-typos"
2024
delete-branch: true
2125
body: |
2226
This PR fixes typos in the codebase.
23-
Please, review it and merge if everything is fine.
24-
If there is proto changes, please, run `make proto-gen` and commit changes.
27+
Please review it, and merge if everything is fine.
28+
If there are proto changes, run `make proto-gen` and commit the changes.

0 commit comments

Comments
 (0)