From 45ca3f0f0a2ad12928b95f2d00241ce6d64b40a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Fri, 12 Dec 2025 21:20:49 -0500 Subject: [PATCH] CI: Use ubuntu-slim runners for simple jobs A new 1 vCPU, with limited RAM (5 GB) and execution time (15 minutes) is available. These are container-based. From their blog post, they are appropriate for auto labelling issues, linting/formatting, basic formatting. --- .github/workflows/additional_checks.yml | 2 +- .github/workflows/create_release_draft.yml | 2 +- .github/workflows/label.yml | 2 +- .github/workflows/periodic_update.yml | 2 +- .github/workflows/post-pr-reviews.yml | 2 +- .github/workflows/titles.yml | 2 +- .github/workflows/verify-success.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/additional_checks.yml b/.github/workflows/additional_checks.yml index bade36c2eb9..25a225436bc 100644 --- a/.github/workflows/additional_checks.yml +++ b/.github/workflows/additional_checks.yml @@ -22,7 +22,7 @@ permissions: {} jobs: additional-checks: name: Additional checks - runs-on: ubuntu-24.04 + runs-on: ubuntu-slim permissions: contents: read diff --git a/.github/workflows/create_release_draft.yml b/.github/workflows/create_release_draft.yml index 96851777a26..493c47ea98a 100644 --- a/.github/workflows/create_release_draft.yml +++ b/.github/workflows/create_release_draft.yml @@ -25,7 +25,7 @@ permissions: {} jobs: build: name: Package and create release draft - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write steps: diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index cd45f826f28..0865225181f 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -28,7 +28,7 @@ jobs: contents: read issues: write pull-requests: write - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 with: diff --git a/.github/workflows/periodic_update.yml b/.github/workflows/periodic_update.yml index 43398e8347c..db5c57c405a 100644 --- a/.github/workflows/periodic_update.yml +++ b/.github/workflows/periodic_update.yml @@ -21,7 +21,7 @@ permissions: {} jobs: update-configure: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: contents: write diff --git a/.github/workflows/post-pr-reviews.yml b/.github/workflows/post-pr-reviews.yml index 753acef1fd9..b78916bb88b 100644 --- a/.github/workflows/post-pr-reviews.yml +++ b/.github/workflows/post-pr-reviews.yml @@ -10,7 +10,7 @@ on: permissions: {} jobs: post-suggestions: - runs-on: ubuntu-latest + runs-on: ubuntu-slim # Only run on failures, since no changes are needed on success if: > (github.event.workflow_run.event == 'pull_request' && diff --git a/.github/workflows/titles.yml b/.github/workflows/titles.yml index aabafbe4e64..7f5a4e73176 100644 --- a/.github/workflows/titles.yml +++ b/.github/workflows/titles.yml @@ -21,7 +21,7 @@ concurrency: jobs: validate-titles: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - name: Checkout base repository (doesn't include the PR changes) uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 diff --git a/.github/workflows/verify-success.yml b/.github/workflows/verify-success.yml index 89f1cb11a14..e28080a3bc6 100644 --- a/.github/workflows/verify-success.yml +++ b/.github/workflows/verify-success.yml @@ -78,7 +78,7 @@ permissions: {} jobs: verify-success: name: Success - runs-on: macos-latest + runs-on: ubuntu-slim continue-on-error: true steps: - name: Set outputs for each job result type