Change ci yml

This commit is contained in:
Anduin Xue
2022-03-04 23:58:29 +08:00
parent ed4ee8966c
commit 0a0ffa83f3

17
.github/workflows/lint-check.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Lint Check
on:
pull_request:
branches: [ master ]
jobs:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install packages
run: sudo gem install mdl
- name: Lint markdown files
run: mdl . -r ~MD036,~MD024,~MD004,~MD029
# Suppress 036 Emphasis used instead of a header
# Suppress 024 Multiple headers with the same content