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

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


The following commit(s) were added to refs/heads/v3-2-test by this push:
     new 53df2f2d6b5 [v3-2-test] Move "Free up disk space" step into 
prepare_breeze_and_image action (#64872) (#64873)
53df2f2d6b5 is described below

commit 53df2f2d6b547f687b00c48ac09b4c0ff08f37a2
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 8 02:01:34 2026 +0300

    [v3-2-test] Move "Free up disk space" step into prepare_breeze_and_image 
action (#64872) (#64873)
    
    Jobs that use the prepare_breeze_and_image composite action all had
    a duplicate "Free up disk space" step. Centralize it in the action
    to reduce repetition. Jobs that don't use the action (e.g. summarize
    warnings) keep their own copy.
    (cherry picked from commit 1d679538f21f4cde93b9105337c538215e3f80ee)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 .github/actions/prepare_breeze_and_image/action.yml | 3 +++
 .github/workflows/ci-amd-arm.yml                    | 3 ---
 .github/workflows/k8s-tests.yml                     | 3 ---
 .github/workflows/test-providers.yml                | 6 ------
 4 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/.github/actions/prepare_breeze_and_image/action.yml 
b/.github/actions/prepare_breeze_and_image/action.yml
index 753cfd03782..2498caad2b8 100644
--- a/.github/actions/prepare_breeze_and_image/action.yml
+++ b/.github/actions/prepare_breeze_and_image/action.yml
@@ -45,6 +45,9 @@ runs:
       shell: bash
       run: ./scripts/ci/make_mnt_writeable.sh
       if: inputs.make-mnt-writeable-and-cleanup == 'true'
+    - name: "Free up disk space"
+      shell: bash
+      run: ./scripts/tools/free_up_disk_space.sh
     - name: "Install Breeze"
       uses: ./.github/actions/breeze
       id: breeze
diff --git a/.github/workflows/ci-amd-arm.yml b/.github/workflows/ci-amd-arm.yml
index 64e19d1981e..c094a6ee825 100644
--- a/.github/workflows/ci-amd-arm.yml
+++ b/.github/workflows/ci-amd-arm.yml
@@ -347,9 +347,6 @@ jobs:
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # 
v6.0.2
         with:
           persist-credentials: false
-      - name: "Free up disk space"
-        shell: bash
-        run: ./scripts/tools/free_up_disk_space.sh
       - name: "Prepare breeze & CI image: ${{ 
needs.build-info.outputs.default-python-version }}"
         uses: ./.github/actions/prepare_breeze_and_image
         with:
diff --git a/.github/workflows/k8s-tests.yml b/.github/workflows/k8s-tests.yml
index ac86ac2ee44..dd45336d5e7 100644
--- a/.github/workflows/k8s-tests.yml
+++ b/.github/workflows/k8s-tests.yml
@@ -84,9 +84,6 @@ jobs:
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # 
v6.0.2
         with:
           persist-credentials: false
-      - name: "Free up disk space"
-        shell: bash
-        run: ./scripts/tools/free_up_disk_space.sh
       # env.PYTHON_MAJOR_MINOR_VERSION, env.KUBERNETES_VERSION are set in the 
previous
       # step id: prepare-versions
       - name: "Prepare breeze & PROD image: ${{ env.PYTHON_MAJOR_MINOR_VERSION 
}}"
diff --git a/.github/workflows/test-providers.yml 
b/.github/workflows/test-providers.yml
index d6c268db849..db1f31f2453 100644
--- a/.github/workflows/test-providers.yml
+++ b/.github/workflows/test-providers.yml
@@ -92,9 +92,6 @@ jobs:
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # 
v6.0.2
         with:
           persist-credentials: false
-      - name: "Free up disk space"
-        shell: bash
-        run: ./scripts/tools/free_up_disk_space.sh
       - name: "Install prek"
         uses: ./.github/actions/install-prek
         id: prek
@@ -201,9 +198,6 @@ jobs:
         uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd  # 
v6.0.2
         with:
           persist-credentials: false
-      - name: "Free up disk space"
-        shell: bash
-        run: ./scripts/tools/free_up_disk_space.sh
       - name: "Install prek"
         uses: ./.github/actions/install-prek
         id: prek

Reply via email to