[ISSUE #4785] Enable misspell check GitHub Action (#4786)

* Enable misspell check GitHub Action

* Fix typo
This commit is contained in:
Aaron Ai
2022-08-08 09:28:41 +08:00
committed by GitHub
parent b145062308
commit 61b14c3f4e
41 changed files with 111 additions and 94 deletions
+17
View File
@@ -0,0 +1,17 @@
name: Misspell Check
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches: [master, develop]
jobs:
misspell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install misspell
run: |
curl -L -o ./install-misspell.sh https://git.io/misspell
sh ./install-misspell.sh
- name: Run misspell
run: find . -type f -print0 | xargs -0 bin/misspell -error -i transfered,derivate