Merge pull request #110 from QQDQ/main #338
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: | |
pull_request: | |
paths: | |
- 'ecp/**' | |
- '.github/**' | |
push: | |
paths: | |
- 'ecp/**' | |
- '.github/**' | |
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 ./ecp | |
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)/ecp |