This is an automated email from the ASF dual-hosted git repository.
Aias00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 924f06169c infra(ci): skip redundant disk cleanup in path-filter-only
jobs (#6437)
924f06169c is described below
commit 924f06169cab7bb9c151d68e3079552886b6f78d
Author: Duansg <[email protected]>
AuthorDate: Thu Jul 23 09:00:39 2026 +0800
infra(ci): skip redundant disk cleanup in path-filter-only jobs (#6437)
Co-authored-by: aias00 <[email protected]>
---
.github/workflows/e2e-k8s.yml | 9 ---------
.github/workflows/k8s-examples-http.yml | 19 ++++++++++---------
2 files changed, 10 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/e2e-k8s.yml b/.github/workflows/e2e-k8s.yml
index e5a46c6675..7242b36ed3 100644
--- a/.github/workflows/e2e-k8s.yml
+++ b/.github/workflows/e2e-k8s.yml
@@ -34,15 +34,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- - name: Free disk space
- run: |
- df --human-readable
- sudo apt clean
- for image in $(docker image ls --all --quiet); do
- docker rmi $image
- done
- rm --recursive --force "$AGENT_TOOLSDIRECTORY"
- df --human-readable
- uses: ./actions/paths-filter
id: filter
with:
diff --git a/.github/workflows/k8s-examples-http.yml
b/.github/workflows/k8s-examples-http.yml
index 08d2037cab..8bde8a2b23 100644
--- a/.github/workflows/k8s-examples-http.yml
+++ b/.github/workflows/k8s-examples-http.yml
@@ -33,15 +33,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- - name: Free disk space
- run: |
- df --human-readable
- sudo apt clean
- for image in $(docker image ls --all --quiet); do
- docker rmi $image
- done
- rm --recursive --force "$AGENT_TOOLSDIRECTORY"
- df --human-readable
- uses: ./actions/paths-filter
id: filter
with:
@@ -61,6 +52,16 @@ jobs:
- '!NOTICE'
- '!.github/ISSUE_TEMPLATE/**'
- '!.github/PULL_REQUEST_TEMPLATE'
+ - name: Free disk space
+ if: steps.filter.outputs.k8s-examples == 'true'
+ run: |
+ df --human-readable
+ sudo apt clean
+ for image in $(docker image ls --all --quiet); do
+ docker rmi $image
+ done
+ rm --recursive --force "$AGENT_TOOLSDIRECTORY"
+ df --human-readable
- name: Install k8s
if: steps.filter.outputs.k8s-examples == 'true'
run: |