Skip to content

ci: use ubuntu-slim runner for lightweight CI jobs#9630

Merged
Jefffrey merged 2 commits intoapache:mainfrom
CuteChuanChuan:raymond/9536-ci-use-ubuntu-slim
Apr 16, 2026
Merged

ci: use ubuntu-slim runner for lightweight CI jobs#9630
Jefffrey merged 2 commits intoapache:mainfrom
CuteChuanChuan:raymond/9536-ci-use-ubuntu-slim

Conversation

@CuteChuanChuan
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

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.ymlissue_assign (assigns issues via actions/github-script)
  • dev_pr.ymlprocess (labels PRs via actions/labeler)
  • dev.ymlprettier (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.

- take.yml: issue_assign (GitHub API script)
- dev_pr.yml: process (PR labeler)
- dev.yml: prettier (Markdown format check)
Copy link
Copy Markdown
Contributor

@mbutrovich mbutrovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tackling this issue I opened, @CuteChuanChuan. Approved pending CI!

@alamb
Copy link
Copy Markdown
Contributor

alamb commented Apr 1, 2026

I kicked off the CI

Copy link
Copy Markdown
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI here doesn't actually test issue_assign & prettier, but considering process ran find I think that's sufficient

@Jefffrey Jefffrey merged commit 2b8a761 into apache:main Apr 16, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: use ubuntu-slim where applicable

5 participants