This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 09567dcc61d89c4247610ec63d0414dfade5d368
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Aug 11 23:20:39 2024 +0200

    Skip docs publishing on non-main brnaches (#41385)
    
    (cherry picked from commit 54c165cee03808bcf6a83708b5a58f2b205a3d9d)
---
 .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 e464e17c99..9a1e4ac4ac 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

Reply via email to