This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 2666052 feat: add spell checker (#1013) (#1107)
2666052 is described below
commit 266605229184a501a7bbf40e19e67df68d3367f3
Author: Peter Zhu <[email protected]>
AuthorDate: Fri Dec 25 13:06:59 2020 +0800
feat: add spell checker (#1013) (#1107)
Co-authored-by: 琚致远 <[email protected]>
Co-authored-by: Alex Zhang <[email protected]>
---
.github/workflows/spellchecker.yml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/.github/workflows/spellchecker.yml
b/.github/workflows/spellchecker.yml
new file mode 100644
index 0000000..6b24651
--- /dev/null
+++ b/.github/workflows/spellchecker.yml
@@ -0,0 +1,21 @@
+name: spellchecker
+on:
+ pull_request:
+ branches:
+ - master
+jobs:
+ misspell:
+ name: runner/misspell
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out code.
+ uses: actions/checkout@v1
+ - name: Install
+ run: |
+ wget -O - -q https://git.io/misspell | sh -s -- -b .
+ - name: Misspell
+ run: |
+ find . -type f -maxdepth 1 | xargs ./misspell -error
+ find . -name "*.go" -type f | xargs ./misspell -error
+ find docs -type f | xargs ./misspell -error
+ find web/src web/cypress -type f | xargs ./misspell -error