chore: port 1.4.x change to v2 #2103
Workflow file for this run
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: | |
pull_request: | |
paths: | |
- 'docs/**' | |
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 ./docs/ | |
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)/docs |