| 12345678910111213141516171819202122232425262728 |
- name: Spellcheck
- concurrency:
- group: spellcheck-${{ github.event_name }}-${{ github.ref }}
- cancel-in-progress: true
- on:
- workflow_call:
- permissions:
- contents: read
- jobs:
- spellcheck:
- strategy:
- matrix:
- profile:
- - emqx
- - emqx-enterprise
- runs-on: ${{ endsWith(github.repository, '/emqx') && 'ubuntu-22.04' || fromJSON('["self-hosted","ephemeral","linux","x64"]') }}
- steps:
- - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
- with:
- pattern: "${{ matrix.profile }}-schema-dump-*-x64"
- merge-multiple: true
- - name: Run spellcheck
- run: |
- bash scripts/spellcheck/spellcheck.sh _build/docgen/${{ matrix.profile }}/schema-en.json
|