From e291ef0dbdf515399d4cc97ff5aeb954ff2d5e8a Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Wed, 15 May 2024 10:42:00 +0200 Subject: [PATCH] fix(datasource/github-runners): add Ubuntu 24.04 Noble Numbat as unstable (#29088) --- lib/modules/datasource/github-runners/index.spec.ts | 1 + lib/modules/datasource/github-runners/index.ts | 1 + lib/modules/datasource/github-runners/readme.md | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/modules/datasource/github-runners/index.spec.ts b/lib/modules/datasource/github-runners/index.spec.ts index 3504b8cbdc9b55..aa2bcbd3e8effe 100644 --- a/lib/modules/datasource/github-runners/index.spec.ts +++ b/lib/modules/datasource/github-runners/index.spec.ts @@ -15,6 +15,7 @@ describe('modules/datasource/github-runners/index', () => { { version: '18.04', isDeprecated: true }, { version: '20.04' }, { version: '22.04' }, + { version: '24.04', isStable: false }, ], sourceUrl: 'https://github.com/actions/runner-images', }); diff --git a/lib/modules/datasource/github-runners/index.ts b/lib/modules/datasource/github-runners/index.ts index c5a2b80773493c..9cf3722dc3b430 100644 --- a/lib/modules/datasource/github-runners/index.ts +++ b/lib/modules/datasource/github-runners/index.ts @@ -10,6 +10,7 @@ export class GithubRunnersDatasource extends Datasource { */ private static readonly releases: Record = { ubuntu: [ + { version: '24.04', isStable: false }, { version: '22.04' }, { version: '20.04' }, { version: '18.04', isDeprecated: true }, diff --git a/lib/modules/datasource/github-runners/readme.md b/lib/modules/datasource/github-runners/readme.md index 82b2769d17cd05..4c3d92bb3249e9 100644 --- a/lib/modules/datasource/github-runners/readme.md +++ b/lib/modules/datasource/github-runners/readme.md @@ -1,7 +1,7 @@ This datasource returns a list of all runners that are hosted by GitHub. The datasource is based on [GitHub's `runner-images` repository](https://github.com/actions/runner-images). -Examples: `windows-2022` / `ubuntu-22.04` / `macos-14` +Examples: `windows-2022` / `ubuntu-24.04` / `macos-14` ## Maintenance