You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/12/25 05:07:08 UTC
[apisix-dashboard] branch master updated: feat: add spell checker
(#1013) (#1107)
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 <st...@gmail.com>
AuthorDate: Fri Dec 25 13:06:59 2020 +0800
feat: add spell checker (#1013) (#1107)
Co-authored-by: 琚致远 <ju...@apache.org>
Co-authored-by: Alex Zhang <to...@apache.org>
---
.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