spellcheck.yaml 677 B

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