Merge pull request #3288 from emqx/20251222-sync-release-6.0 #14595
This file contains hidden or 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: | |
| branches: | |
| - 'release-[0-9].[0-9]' | |
| - 'release-[0-9].[0-9][0-9]' | |
| pull_request: | |
| branches: | |
| - 'release-[0-9].[0-9]' | |
| - 'release-[0-9].[0-9][0-9]' | |
| jobs: | |
| markdown_check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: check markdown | |
| run: | | |
| sudo npm install -g markdownlint-cli | |
| markdownlint -c .github/workflows/markdown_config.json ./en_US | |
| markdownlint -c .github/workflows/markdown_config.json ./zh_CN | |
| markdownlint -c .github/workflows/markdown_config.json ./ja_JP | |
| - name: Spell Check Repo | |
| uses: crate-ci/[email protected] | |
| directory_check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: check directory config | |
| run: | | |
| python3 ./gen.py ee | tee directory.json | |
| python3 .github/scripts/directory_check.py directory.json $(pwd) |