Merge pull request #2707 from emqx/fix-typos-in-pic #11074
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Docs | |
on: [push, pull_request] | |
jobs: | |
markdown_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out code | |
uses: actions/checkout@main | |
- name: check markdown | |
run: | | |
sudo npm install -g markdownlint-cli | |
markdownlint -c .github/workflows/markdown_config.json ./ | |
directory_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out code | |
uses: actions/checkout@main | |
- name: check directory config | |
run: | | |
python3 ./gen.py ce | tee directory.json | |
python3 .github/scripts/directory_check.py directory.json $(pwd) |