spellcheck.yaml 723 B

123456789101112131415161718192021222324252627
  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@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
  19. with:
  20. name: "${{ matrix.profile }}-schema-dump"
  21. - name: Run spellcheck
  22. run: |
  23. bash scripts/spellcheck/spellcheck.sh _build/docgen/${{ matrix.profile }}/schema-en.json