spellcheck.yaml 763 B

12345678910111213141516171819202122232425262728
  1. name: Spellcheck
  2. concurrency:
  3. group: spellcheck-${{ github.event_name }}-${{ github.ref }}
  4. cancel-in-progress: true
  5. on:
  6. workflow_call:
  7. permissions:
  8. contents: read
  9. jobs:
  10. spellcheck:
  11. strategy:
  12. matrix:
  13. profile:
  14. - emqx
  15. - emqx-enterprise
  16. runs-on: ${{ endsWith(github.repository, '/emqx') && 'ubuntu-22.04' || fromJSON('["self-hosted","ephemeral","linux","x64"]') }}
  17. steps:
  18. - uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
  19. with:
  20. pattern: "${{ matrix.profile }}-schema-dump-*-x64"
  21. merge-multiple: true
  22. - name: Run spellcheck
  23. run: |
  24. bash scripts/spellcheck/spellcheck.sh _build/docgen/${{ matrix.profile }}/schema-en.json