From e82b86aeafbe665bc3df7bece95d1447fc28944e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 2 Feb 2026 11:56:24 +0100 Subject: [PATCH] CI: use ubuntu-slim instead of ubuntu-latest where sensible Also suggest people use this in their TagBot config. For background information, see also this blog post: --- .github/workflows/publish.yml | 2 +- .github/workflows/tagbot.yml | 2 +- .github/workflows/web.yml | 2 +- README.md | 2 +- example.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 352b3348..745c2b7e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ permissions: pull-requests: write jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: github.event_name == 'workflow_dispatch' || (startsWith(github.event.pull_request.head.ref, 'release/') && github.event.pull_request.merged) steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/tagbot.yml b/.github/workflows/tagbot.yml index c72561f7..1a4f467b 100644 --- a/.github/workflows/tagbot.yml +++ b/.github/workflows/tagbot.yml @@ -11,7 +11,7 @@ on: jobs: TagBot: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: JuliaRegistries/TagBot@v1 with: diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 2e9f3629..3a223135 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -19,7 +19,7 @@ on: - '.github/workflows/web.yml' jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/README.md b/README.md index 90c54ff3..b43b4bc0 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,7 @@ With the removal of the lookback time window, TagBot now checks all package vers ```yml jobs: TagBot: - runs-on: ubuntu-latest + runs-on: ubuntu-slim env: TAGBOT_MAX_PRS_TO_CHECK: 500 # Increase limit if needed steps: diff --git a/example.yml b/example.yml index ab9b6d19..6a384cbd 100644 --- a/example.yml +++ b/example.yml @@ -11,7 +11,7 @@ on: jobs: TagBot: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: JuliaRegistries/TagBot@v1 with: