spellcheck.yaml 708 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@v3
  19. with:
  20. name: "${{ matrix.profile }}_schema_dump"
  21. path: /tmp/
  22. - name: Run spellcheck
  23. run: |
  24. bash /tmp/scripts/spellcheck/spellcheck.sh /tmp/_build/docgen/${{ matrix.profile }}/schema-en.json