diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1c6fbf9d60b..1decfe4f6cf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -9,7 +9,7 @@ on: types: [opened] jobs: analyze: - if: github.event.pull_request.draft == false + if: github.event.pull_request.draft == false && github.repository == 'zenml-io/zenml' name: Analyze runs-on: ubuntu-latest timeout-minutes: 360 diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 2af33516990..ee2730e3066 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -13,11 +13,14 @@ jobs: python-version: '3.8' git-ref: develop secrets: inherit + if: github.repository == 'zenml-io/zenml' publish-python-package: needs: setup-and-test uses: ./.github/workflows/publish_to_pypi_nightly.yml secrets: inherit + if: github.repository == 'zenml-io/zenml' wait-for-package-release: + if: github.repository == 'zenml-io/zenml' runs-on: ubuntu-latest needs: publish-python-package steps: @@ -25,6 +28,7 @@ jobs: run: sleep 240 shell: bash publish-docker-image: + if: github.repository == 'zenml-io/zenml' needs: wait-for-package-release uses: ./.github/workflows/publish_docker_image.yml with: diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml index b142a27d238..b875ccaeb16 100644 --- a/.github/workflows/pr_labeler.yml +++ b/.github/workflows/pr_labeler.yml @@ -7,6 +7,7 @@ on: name: pr-label jobs: pr-labeler: + if: github.repository == 'zenml-io/zenml' runs-on: ubuntu-latest env: ZENML_DEBUG: 1 diff --git a/.github/workflows/publish_api_docs.yml b/.github/workflows/publish_api_docs.yml index c6eb89b19f5..afc9bbd70e6 100644 --- a/.github/workflows/publish_api_docs.yml +++ b/.github/workflows/publish_api_docs.yml @@ -6,6 +6,7 @@ on: jobs: publish: name: Build 🔨 and publish 📰 the api docs 📁 to gh-pages + if: github.repository == 'zenml-io/zenml' runs-on: ubuntu-latest env: ZENML_DEBUG: 1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5489bf5bdad..c3e809f878a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,6 +62,7 @@ jobs: - name: Test migrations across versions run: bash scripts/test-migrations-mariadb.sh publish-python-package: + if: github.repository == 'zenml-io/zenml' needs: - setup-and-test - mlstacks-compatibility-check @@ -78,10 +79,12 @@ jobs: run: sleep 240 shell: bash publish-docker-image: + if: github.repository == 'zenml-io/zenml' needs: wait-for-package-release uses: ./.github/workflows/publish_docker_image.yml secrets: inherit publish-helm-chart: + if: github.repository == 'zenml-io/zenml' needs: publish-docker-image uses: ./.github/workflows/publish_helm_chart.yml secrets: inherit diff --git a/.github/workflows/replace_api_docs_version b/.github/workflows/replace_api_docs_version index 5c0eec20532..3107c25cf80 100644 --- a/.github/workflows/replace_api_docs_version +++ b/.github/workflows/replace_api_docs_version @@ -8,6 +8,7 @@ on: jobs: update_docs: runs-on: ubuntu-latest + if: github.repository == 'zenml-io/zenml' steps: - name: Check out branch diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 853ab02ffb3..ed2ab8d6ace 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: true jobs: spellcheck: - if: github.event.pull_request.draft == false + if: github.event.pull_request.draft == false && github.repository == 'zenml-io/zenml' runs-on: ubuntu-dind-runners steps: - name: Checkout code diff --git a/.github/workflows/templates-test.yml b/.github/workflows/templates-test.yml index 04ca12fe62e..9e1fd195a36 100644 --- a/.github/workflows/templates-test.yml +++ b/.github/workflows/templates-test.yml @@ -42,7 +42,8 @@ jobs: ZENML_ANALYTICS_OPT_IN: false PYTHONIOENCODING: utf-8 OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES' - if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') }} + if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') }} && github.repository + == 'zenml-io/zenml' defaults: run: shell: bash diff --git a/.github/workflows/trivy-zenml-core.yml b/.github/workflows/trivy-zenml-core.yml index 36c9fa8cc1f..2dca0bf1719 100644 --- a/.github/workflows/trivy-zenml-core.yml +++ b/.github/workflows/trivy-zenml-core.yml @@ -8,6 +8,7 @@ on: jobs: trivy-scan: name: Trivy zenml scan & analysis + if: github.repository == 'zenml-io/zenml' runs-on: ubuntu-20.04 steps: - name: Checkout code diff --git a/.github/workflows/trivy-zenserver.yml b/.github/workflows/trivy-zenserver.yml index 0c26ed2a3dc..6260a405e2d 100644 --- a/.github/workflows/trivy-zenserver.yml +++ b/.github/workflows/trivy-zenserver.yml @@ -8,6 +8,7 @@ on: jobs: trivy-scan: name: Trivy ZenServer scan & analysis + if: github.repository == 'zenml-io/zenml' runs-on: ubuntu-20.04 steps: - name: Checkout code diff --git a/examples/e2e/.copier-answers.yml b/examples/e2e/.copier-answers.yml index fe45d1c27a5..e264e69ae54 100644 --- a/examples/e2e/.copier-answers.yml +++ b/examples/e2e/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 2024.01.17-2-g9c82435 +_commit: 2024.01.18 _src_path: gh:zenml-io/template-e2e-batch data_quality_checks: true email: '' diff --git a/examples/e2e_nlp/.copier-answers.yml b/examples/e2e_nlp/.copier-answers.yml index fe8561481c4..014e7b476c9 100644 --- a/examples/e2e_nlp/.copier-answers.yml +++ b/examples/e2e_nlp/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 0.45.0-2-gdb7862c +_commit: 2024.01.12 _src_path: gh:zenml-io/template-nlp accelerator: cpu cloud_of_choice: aws diff --git a/examples/quickstart/.copier-answers.yml b/examples/quickstart/.copier-answers.yml index 6fdd6208c8c..fc682b16a21 100644 --- a/examples/quickstart/.copier-answers.yml +++ b/examples/quickstart/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 2023.12.18-3-g5b0d7c9 +_commit: 2024.01.12 _src_path: gh:zenml-io/template-starter email: '' full_name: ZenML GmbH