Merge pull request #490 from ZhouBox/v2.10 #1675
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 markdown | |
on: [push, pull_request] | |
jobs: | |
markdown_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out code | |
uses: actions/checkout@main | |
- name: install markdownlint | |
run: sudo npm install -g markdownlint-cli | |
- name: check markdown | |
run: 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 .github/scripts/directory_check.py directory.json $(pwd) |