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

potiuk pushed a commit to branch md-only-optimization-only-runs-on-push
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit a3bc979a5e45eb49b999db71b6ddf798352d5051
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Apr 14 00:13:40 2026 +0200

    MD files only optimization only on PUSH
---
 dev/breeze/src/airflow_breeze/utils/selective_checks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py 
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index 19506d490b6..ca7fbef3a3d 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -594,7 +594,7 @@ class SelectiveChecks:
 
     def _should_run_all_tests_and_versions(self) -> bool:
         if self._github_event in [GithubEvents.PUSH, GithubEvents.SCHEDULE, 
GithubEvents.WORKFLOW_DISPATCH]:
-            if self.only_text_non_doc_files_changed:
+            if self.only_text_non_doc_files_changed and self._github_event == 
GithubEvents.PUSH:
                 console_print(
                     f"[warning]Only text non doc files changed in 
{self._github_event}, skip full tests[/]"
                 )

Reply via email to