This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new c8ebd28bdae MD files only optimization only on PUSH (#65181)
c8ebd28bdae is described below
commit c8ebd28bdae9a1eb6f0e533a832c4d725b1efa74
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Apr 14 00:22:03 2026 +0200
MD files only optimization only on PUSH (#65181)
When we merge to v3-2-test it usually triggers full build, however
when there is only an .md file change (which happens for
AGENTS.md updates for example) - it should not trigger the
complete rebuild.
---
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[/]"
)