You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by kv...@apache.org on 2020/12/14 02:47:19 UTC

[apisix-ingress-controller] branch master updated: CI: add spell checker (#90)

This is an automated email from the ASF dual-hosted git repository.

kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 4f2fe71  CI: add spell checker (#90)
4f2fe71 is described below

commit 4f2fe7158f2511aaed1287b1bfca1470d9726059
Author: Alex Zhang <zc...@gmail.com>
AuthorDate: Mon Dec 14 10:47:09 2020 +0800

    CI: add spell checker (#90)
    
    * c: add spell checker
    
    * fix: spell checker command
---
 .github/workflows/spell-checker.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml
new file mode 100644
index 0000000..1e6fc33
--- /dev/null
+++ b/.github/workflows/spell-checker.yml
@@ -0,0 +1,20 @@
+name: spell-checker
+on:
+  push:
+    branches: [ master, ci/spell-checker ]
+  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 . -name "*.go" -type f | xargs ./misspell -error
+          find docs -type f | xargs ./misspell -error