From 99ee6df83c391b00e55d9de72ea94b6d3ba2b5c2 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 11 Aug 2024 23:10:58 +0200 Subject: [PATCH] Skip docs publishing on non-main brnaches --- .github/workflows/static-checks-mypy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-checks-mypy-docs.yml b/.github/workflows/static-checks-mypy-docs.yml index e464e17c9986e..9a1e4ac4ac7f9 100644 --- a/.github/workflows/static-checks-mypy-docs.yml +++ b/.github/workflows/static-checks-mypy-docs.yml @@ -243,7 +243,7 @@ jobs: INCLUDE_SUCCESS_OUTPUTS: "${{ inputs.include-success-outputs }}" PYTHON_MAJOR_MINOR_VERSION: "${{ inputs.default-python-version }}" VERBOSE: "true" - if: inputs.canary-run == 'true' + if: inputs.canary-run == 'true' && inputs.branch == 'main' steps: - name: "Cleanup repo" shell: bash