From e532dd2a2397a42e724b311fd68dd835330a9c8d Mon Sep 17 00:00:00 2001 From: Junwang Zhao Date: Fri, 27 Feb 2026 14:51:36 +0800 Subject: [PATCH 1/3] chore: use ubuntu-slim for lightweight jobs ubuntu-slim is a new cost-efficient runner to fit lightweight jobs. We can use this to save ASF infra usage (if possible). By *lightweight* I mean jobs that run for less than a minute and are not easily affected by other concurrently running jobs on the same host. This topic was raised in the Apache ORC project and later adopted by iceberg-cpp. We believe it could also benefit other projects under the Apache Iceberg umbrella. Refs: - https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/ - https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md - https://github.com/apache/iceberg-cpp/pull/578 --- .github/workflows/codeql.yml | 2 +- .github/workflows/labeler.yml | 2 +- .github/workflows/license-check.yml | 2 +- .github/workflows/site-ci.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e81c71589633..253a883a526b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -33,7 +33,7 @@ permissions: jobs: analyze: name: Analyze Actions - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: read security-events: write diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 3de5130c7d9f..dde39dd4be5d 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -26,7 +26,7 @@ permissions: jobs: triage: - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/labeler@v6 with: diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index af693f1843c0..6e3d8cfdfced 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -25,7 +25,7 @@ permissions: jobs: rat: - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 - run: | diff --git a/.github/workflows/site-ci.yml b/.github/workflows/site-ci.yml index 689b9e596725..cd4c2de47e11 100644 --- a/.github/workflows/site-ci.yml +++ b/.github/workflows/site-ci.yml @@ -32,7 +32,7 @@ permissions: jobs: deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write steps: From 20c396a85c4accf8ae02f3bea477cfb633dc8af0 Mon Sep 17 00:00:00 2001 From: Junwang Zhao Date: Fri, 27 Feb 2026 15:02:25 +0800 Subject: [PATCH 2/3] License Check need java, which ubuntu-slim doesn't have, so revert --- .github/workflows/license-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index 6e3d8cfdfced..af693f1843c0 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -25,7 +25,7 @@ permissions: jobs: rat: - runs-on: ubuntu-slim + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v6 - run: | From 57e7585d571e91a48a97c28632e6f4f4d5f6ac26 Mon Sep 17 00:00:00 2001 From: Junwang Zhao Date: Mon, 2 Mar 2026 18:43:17 +0800 Subject: [PATCH 3/3] configure the same for stale.yml / open-api.yml --- .github/workflows/open-api.yml | 2 +- .github/workflows/stale.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/open-api.yml b/.github/workflows/open-api.yml index 7cc12ba33717..92948894d452 100644 --- a/.github/workflows/open-api.yml +++ b/.github/workflows/open-api.yml @@ -41,7 +41,7 @@ concurrency: jobs: openapi-spec-validator: - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 9a66a9788914..5411b71e7db3 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -30,7 +30,7 @@ permissions: jobs: stale: if: github.repository_owner == 'apache' - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim steps: - uses: actions/stale@v10.2.0 with: