spellcheck.yaml 649 B

1234567891011121314151617181920212223242526272829
  1. name: Spellcheck
  2. concurrency:
  3. group: spellcheck-${{ github.event_name }}-${{ github.ref }}
  4. cancel-in-progress: true
  5. on:
  6. workflow_call:
  7. inputs:
  8. runner:
  9. required: true
  10. type: string
  11. jobs:
  12. spellcheck:
  13. strategy:
  14. matrix:
  15. profile:
  16. - emqx
  17. - emqx-enterprise
  18. runs-on: ${{ inputs.runner }}
  19. steps:
  20. - uses: actions/download-artifact@v3
  21. with:
  22. name: "${{ matrix.profile }}_schema_dump"
  23. path: /tmp/
  24. - name: Run spellcheck
  25. run: |
  26. bash /tmp/scripts/spellcheck/spellcheck.sh /tmp/_build/docgen/${{ matrix.profile }}/schema-en.json