This is an automated email from the ASF dual-hosted git repository.
jeffreyvo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 2b8a761c9b ci: use ubuntu-slim runner for lightweight CI jobs (#9630)
2b8a761c9b is described below
commit 2b8a761c9b0d14bdd6ee913c15f9ed8971c4e06e
Author: Yu-Chuan Hung <[email protected]>
AuthorDate: Thu Apr 16 12:29:44 2026 +0800
ci: use ubuntu-slim runner for lightweight CI jobs (#9630)
# Which issue does this PR close?
- Closes #9536.
# Rationale for this change
`ubuntu-slim` is a cost-efficient, 1-vCPU GitHub Actions runner designed
for lightweight jobs that run under a minute. Switching applicable jobs
saves ASF infrastructure usage.
# What changes are included in this PR?
Switch `runs-on: ubuntu-latest` to `runs-on: ubuntu-slim` for three
lightweight CI jobs:
- `take.yml` → `issue_assign` (assigns issues via
`actions/github-script`)
- `dev_pr.yml` → `process` (labels PRs via `actions/labeler`)
- `dev.yml` → `prettier` (Markdown format check via Node.js + prettier)
# Are these changes tested?
CI-only changes. The jobs will be validated when this PR's CI runs.
# Are there any user-facing changes?
No.
Co-authored-by: Andrew Lamb <[email protected]>
---
.github/workflows/dev.yml | 2 +-
.github/workflows/dev_pr.yml | 2 +-
.github/workflows/take.yml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index f20f0b1436..92f5c4e368 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -48,7 +48,7 @@ jobs:
prettier:
name: Markdown format
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
diff --git a/.github/workflows/dev_pr.yml b/.github/workflows/dev_pr.yml
index 7b0c2566a3..8bf2ec3ccf 100644
--- a/.github/workflows/dev_pr.yml
+++ b/.github/workflows/dev_pr.yml
@@ -32,7 +32,7 @@ on:
jobs:
process:
name: Process
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
permissions:
contents: read
pull-requests: write
diff --git a/.github/workflows/take.yml b/.github/workflows/take.yml
index fe2199dfdc..cda06c32c5 100644
--- a/.github/workflows/take.yml
+++ b/.github/workflows/take.yml
@@ -26,7 +26,7 @@ permissions:
jobs:
issue_assign:
if: (!github.event.issue.pull_request) && github.event.comment.body ==
'take'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
steps:
- uses: actions/github-script@v9
with: