Skip to content

Commit 010e5ee

Browse files
ci: use ubuntu-slim runner for lightweight CI jobs (#21252)
## Which issue does this PR close? - Closes #20870. ## Rationale for this change `ubuntu-slim` is a cost-efficient runner that can save ASF infrastructure resources for lightweight CI jobs. This was raised in the Apache ORC project and adopted by other Apache projects like iceberg-rust (apache/iceberg-rust#2187). ## What changes are included in this PR? Switch 6 lightweight CI jobs from `ubuntu-latest` to `ubuntu-slim`: - `take.yml`: `issue_assign` — curl API calls only - `large_files.yml`: `check-files` — git commands only - `stale.yml`: `close-stale-prs` — actions/stale - `labeler.yml`: `process` — actions/labeler - `codeql.yml`: `analyze` — codeql-action on Actions YAML - `dev.yml`: `prettier` — setup-node + prettier ## Are these changes tested? CI only — this changes the runner type, not workflow logic. ## Are there any user-facing changes? No.
1 parent 0a8bb29 commit 010e5ee

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ permissions:
3232
jobs:
3333
analyze:
3434
name: Analyze Actions
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-slim
3636
permissions:
3737
contents: read
3838
security-events: write

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
prettier:
4343
name: Use prettier to check formatting of documents
44-
runs-on: ubuntu-latest
44+
runs-on: ubuntu-slim
4545
steps:
4646
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4747
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131
jobs:
3232
process:
3333
name: Process
34-
runs-on: ubuntu-latest
34+
runs-on: ubuntu-slim
3535
# only run for users whose permissions allow them to update PRs
3636
# otherwise labeler is failing:
3737
# https://github.com/apache/datafusion/issues/3743

.github/workflows/large_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727

2828
jobs:
2929
check-files:
30-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-slim
3131
steps:
3232
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
jobs:
2424
close-stale-prs:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-slim
2626
permissions:
2727
issues: write
2828
pull-requests: write

.github/workflows/take.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ permissions:
2525

2626
jobs:
2727
issue_assign:
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-slim
2929
if: (!github.event.issue.pull_request) && (github.event.comment.body == 'take' || github.event.comment.body == 'untake')
3030
concurrency:
3131
group: ${{ github.actor }}-issue-assign

0 commit comments

Comments
 (0)