travis: added spelling check workflow. (#811)

This commit is contained in:
lijunlong
2022-01-29 20:46:37 +08:00
committed by GitHub
parent f6b6f10fc0
commit fa95e176fb
11 changed files with 174 additions and 2 deletions

18
.github/workflows/markdownlint.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Linting on markdown files
on:
pull_request_target:
push:
jobs:
lint-content:
name: Lint content markdown files
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Lint markdown files
uses: avto-dev/markdown-lint@v1
with:
config: './.markdownlint.jsonc'
args: './content/**/*.md'