This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 476cb7cbb88 [v3-0-test] Manually run workflows are now also canary
runs (#49946) (#49953)
476cb7cbb88 is described below
commit 476cb7cbb8809198ea4be4dc04418ea6cb7d6634
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Apr 29 17:50:12 2025 +0200
[v3-0-test] Manually run workflows are now also canary runs (#49946)
(#49953)
We had the issue that when we run manually tests using
worfklow-dispatch, tests were not running because the run was not
considered as canary run.
This PR fixes it.
(cherry picked from commit 0315a46e77d54a531289915ef629f5863a7ed3cb)
Co-authored-by: Jarek Potiuk <[email protected]>
---
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 64c13eccae5..5c76b4cdb89 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -1516,7 +1516,7 @@ class SelectiveChecks:
def _is_canary_run(self):
return (
- self._github_event in [GithubEvents.SCHEDULE, GithubEvents.PUSH]
+ self._github_event in [GithubEvents.SCHEDULE, GithubEvents.PUSH,
GithubEvents.WORKFLOW_DISPATCH]
and self._github_repository == APACHE_AIRFLOW_GITHUB_REPOSITORY
) or CANARY_LABEL in self._pr_labels