More scalability improvements #5683
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Spellcheck | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
branches: [main] | |
paths-ignore: [docker/**, '*', '!pyproject.toml'] | |
pull_request: | |
types: [opened, synchronize, ready_for_review] | |
paths-ignore: [docker/**, '*', '!pyproject.toml'] | |
concurrency: | |
# New commit on branch cancels running workflows of the same branch | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
spellcheck: | |
if: github.event.pull_request.draft == false && github.repository == 'zenml-io/zenml' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Spelling checker | |
uses: crate-ci/[email protected] | |
with: | |
files: . | |
config: ./.typos.toml |