diff --git a/.github/workflows/setup-python-environment.yml b/.github/workflows/setup-python-environment.yml index bad2f33d979..3f41960fdc8 100644 --- a/.github/workflows/setup-python-environment.yml +++ b/.github/workflows/setup-python-environment.yml @@ -93,13 +93,6 @@ jobs: OS: ${{ inputs.os }} run: | bash scripts/lint.sh - - name: Spelling checker - uses: crate-ci/typos@v1.17.0 - with: - files: . - config: ./.typos.toml - # Only run the spell check on ubuntu-latest and python 3.8 - if: ${{ inputs.os == 'ubuntu-dind-runners' && inputs.python-version == '3.8' }} - name: Docstring check run: bash scripts/docstring.sh # Only run the docstring check on ubuntu-latest and python 3.8 diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 00000000000..0171eb9de07 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,27 @@ +--- +name: Spellcheck +on: + workflow_dispatch: + workflow_call: + push: + branches: [main] + paths-ignore: [docs/**, docker/**, '*', '!pyproject.toml'] + pull_request: + types: [opened, synchronize, ready_for_review] + paths-ignore: [docs/**, 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 + runs-on: ubuntu-dind-runners + steps: + - name: Checkout code + uses: actions/checkout@v4.1.1 + - name: Spelling checker + uses: crate-ci/typos@v1.17.0 + with: + files: . + config: ./.typos.toml diff --git a/docs/book/user-guide/advanced-guide/configuring-zenml/ci-cd.md b/docs/book/user-guide/advanced-guide/configuring-zenml/ci-cd.md index 520e69c6ecc..3c7414c447f 100644 --- a/docs/book/user-guide/advanced-guide/configuring-zenml/ci-cd.md +++ b/docs/book/user-guide/advanced-guide/configuring-zenml/ci-cd.md @@ -1,6 +1,6 @@ --- description: >- - Managing the lifecycle of a ZenML pipeline with Continous Integration and Delivery + Managing the lifecycle of a ZenML pipeline with Continuous Integration and Delivery --- # CI/CD with ZenML pipelines diff --git a/docs/book/user-guide/advanced-guide/configuring-zenml/configuring-zenml.md b/docs/book/user-guide/advanced-guide/configuring-zenml/configuring-zenml.md index 666526b0e62..2a45e332bb5 100644 --- a/docs/book/user-guide/advanced-guide/configuring-zenml/configuring-zenml.md +++ b/docs/book/user-guide/advanced-guide/configuring-zenml/configuring-zenml.md @@ -4,6 +4,6 @@ description: Configuring ZenML's default behavior # Configuring ZenML -There are various ways to adapt how ZenML behaves in certain sitations. This guide walks users through how to configure certain aspects of ZenML. +There are various ways to adapt how ZenML behaves in certain situations. This guide walks users through how to configure certain aspects of ZenML.
ZenML Scarf
diff --git a/docs/book/user-guide/advanced-guide/pipelining-features/configure-steps-pipelines.md b/docs/book/user-guide/advanced-guide/pipelining-features/configure-steps-pipelines.md index a626019eb9f..9e0a8cb4d62 100644 --- a/docs/book/user-guide/advanced-guide/pipelining-features/configure-steps-pipelines.md +++ b/docs/book/user-guide/advanced-guide/pipelining-features/configure-steps-pipelines.md @@ -121,7 +121,7 @@ if __name__=="__main__": addition_pipeline() ``` -The method `write_run_configuration_template` genreates a config template (at path `run.yaml` in this case) that includes all configuration options for this specific pipeline and your active stack. Let's run the pipeline: +The method `write_run_configuration_template` generates a config template (at path `run.yaml` in this case) that includes all configuration options for this specific pipeline and your active stack. Let's run the pipeline: ```python python run.py diff --git a/docs/book/user-guide/advanced-guide/pipelining-features/pipeline-settings.md b/docs/book/user-guide/advanced-guide/pipelining-features/pipeline-settings.md index 5f7281b8e53..bdf4cd23a8f 100644 --- a/docs/book/user-guide/advanced-guide/pipelining-features/pipeline-settings.md +++ b/docs/book/user-guide/advanced-guide/pipelining-features/pipeline-settings.md @@ -64,7 +64,7 @@ Or in a YAML like this: ```yaml settings: docker: - requrements: + requirements: - pandas ``` diff --git a/docs/book/user-guide/production-guide/cloud-orchestration.md b/docs/book/user-guide/production-guide/cloud-orchestration.md index 9059ed40ef8..edcf14db546 100644 --- a/docs/book/user-guide/production-guide/cloud-orchestration.md +++ b/docs/book/user-guide/production-guide/cloud-orchestration.md @@ -166,7 +166,7 @@ Now that we have our orchestrator and container registry registered, we can [reg {% tabs %} {% tab title="CLI" %} ```shell -zenml stack register miminal_cloud_stack -o skypilot_orchestrator -a cloud_artifact_store -c cloud_container_registry +zenml stack register minimal_cloud_stack -o skypilot_orchestrator -a cloud_artifact_store -c cloud_container_registry ``` {% endtab %} {% tab title="Dashboard" %} @@ -178,7 +178,7 @@ Now, using the [code from the previous chapter](understand-stacks.md#run-a-pipel we can run a training pipeline. First, set the minimal cloud stack active: ```shell -zenml stack set miminal_cloud_stack +zenml stack set minimal_cloud_stack ``` and then, run the training pipeline: