apisix/.github/workflows/misc-checker.yml
罗泽轩 9782400901
ci: fix broken misspell check (#3976)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-08 18:26:12 +08:00

21 lines
561 B
YAML

name: misc
on:
pull_request:
branches: [master]
jobs:
misc:
name: misc checker
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: |
git ls-files | grep -v "docs/es" | grep -v "t/toolkit" | xargs ./misspell -error
- name: Merge conflict
run: |
grep "^<<<<<<< HEAD" $(git ls-files | grep -v "t/toolkit" | xargs) && exit 1 || true