spellcheck.yaml 704 B

1234567891011121314151617181920212223242526272829303132
  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_labels:
  9. required: true
  10. type: string
  11. permissions:
  12. contents: read
  13. jobs:
  14. spellcheck:
  15. strategy:
  16. matrix:
  17. profile:
  18. - emqx
  19. - emqx-enterprise
  20. runs-on: ${{ fromJSON(inputs.runner_labels) }}
  21. steps:
  22. - uses: actions/download-artifact@v3
  23. with:
  24. name: "${{ matrix.profile }}_schema_dump"
  25. path: /tmp/
  26. - name: Run spellcheck
  27. run: |
  28. bash /tmp/scripts/spellcheck/spellcheck.sh /tmp/_build/docgen/${{ matrix.profile }}/schema-en.json