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 da4912b5e5 Check that breeze image builds quickly only on main branch
(#31828)
da4912b5e5 is described below
commit da4912b5e562c7a30e0c54f79220c99a32e69ab9
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jun 10 01:07:37 2023 +0200
Check that breeze image builds quickly only on main branch (#31828)
This check is really for the developers who are developing on main
and there is no need to run it for other branches.
---
.github/workflows/ci.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6c9fbb68c5..f59da1b9bf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -274,7 +274,9 @@ jobs:
RUNS_ON: "${{needs.build-info.outputs.runs-on}}"
UPGRADE_TO_NEWER_DEPENDENCIES: false
PLATFORM: "linux/amd64"
- if: needs.build-info.outputs.canary-run == 'true'
+ if: >
+ needs.build-info.outputs.canary-run == 'true'
+ && needs.build-info.outputs.default-branch == 'main'
steps:
- name: Cleanup repo
run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm
-rf /workspace/*"