Skip to content

Apache DataFusion SQL Query Engine

ci: use ubuntu-slim runner for lightweight CI jobs (#21252)

Yu-Chuan Hung010e5ee04bb5
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 86d26ea142..be04992378 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -32,7 +32,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/dev.yml b/.github/workflows/dev.yml
index 2fec343650..c2a06ed392 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -41,7 +41,7 @@ jobs:
prettier:
name: Use prettier to check formatting of documents
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index a575b39577..2d42d6ff96 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -31,7 +31,7 @@ on:
jobs:
process:
name: Process
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
# only run for users whose permissions allow them to update PRs
# otherwise labeler is failing:
# https://github.com/apache/datafusion/issues/3743
diff --git a/.github/workflows/large_files.yml b/.github/workflows/large_files.yml
index 12b7bae76a..12a5599189 100644
--- a/.github/workflows/large_files.yml
+++ b/.github/workflows/large_files.yml
@@ -27,7 +27,7 @@ on:
jobs:
check-files:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index ec7f54ec24..b7ad73a593 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -22,7 +22,7 @@ on:
jobs:
close-stale-prs:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
permissions:
issues: write
pull-requests: write
diff --git a/.github/workflows/take.yml b/.github/workflows/take.yml
index ffb5f728e0..e34bf869ef 100644
--- a/.github/workflows/take.yml
+++ b/.github/workflows/take.yml
@@ -25,7 +25,7 @@ permissions:
jobs:
issue_assign:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
if: (!github.event.issue.pull_request) && (github.event.comment.body == 'take' || github.event.comment.body == 'untake')
concurrency:
group: ${{ github.actor }}-issue-assign