From 1e9c00b0b902a36d722596ed42c089fb3220d6ba Mon Sep 17 00:00:00 2001
From: Michael Kriese <michael.kriese@visualon.de>
Date: Fri, 24 Jan 2025 14:43:22 +0100
Subject: [PATCH] feat(datasource/github-runners): support ubuntu arm partner
 images (#33824)

---
 lib/modules/datasource/github-runners/index.spec.ts | 2 ++
 lib/modules/datasource/github-runners/index.ts      | 3 +++
 lib/modules/datasource/github-runners/readme.md     | 2 +-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/modules/datasource/github-runners/index.spec.ts b/lib/modules/datasource/github-runners/index.spec.ts
index 7d79c59aca..4a5407e663 100644
--- a/lib/modules/datasource/github-runners/index.spec.ts
+++ b/lib/modules/datasource/github-runners/index.spec.ts
@@ -14,7 +14,9 @@ describe('modules/datasource/github-runners/index', () => {
           { version: '16.04', isDeprecated: true },
           { version: '18.04', isDeprecated: true },
           { version: '20.04', isDeprecated: true },
+          { version: '22.04-arm', isStable: false },
           { version: '22.04' },
+          { version: '24.04-arm', isStable: false },
           { version: '24.04' },
         ],
         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 08a42b3f92..2c86263dba 100644
--- a/lib/modules/datasource/github-runners/index.ts
+++ b/lib/modules/datasource/github-runners/index.ts
@@ -14,11 +14,14 @@ export class GithubRunnersDatasource extends Datasource {
    * Deprecated runners must have the `isDeprecated: true` property.
    * Stable runners should have no extra properties.
    * For more details, read the github-runners datasource readme.
+   * Check https://github.blog/changelog/label/actions/ for stable and deprecation dates.
    */
   private static readonly releases: Record<string, Release[] | undefined> = {
     ubuntu: [
       { version: '24.04' },
+      { version: '24.04-arm', isStable: false },
       { version: '22.04' },
+      { version: '22.04-arm', isStable: false },
       { version: '20.04', isDeprecated: true },
       { version: '18.04', isDeprecated: true },
       { version: '16.04', isDeprecated: true },
diff --git a/lib/modules/datasource/github-runners/readme.md b/lib/modules/datasource/github-runners/readme.md
index 4c3d92bb32..b73a94d53b 100644
--- a/lib/modules/datasource/github-runners/readme.md
+++ b/lib/modules/datasource/github-runners/readme.md
@@ -1,5 +1,5 @@
 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).
+The datasource is based on GitHub's [`runner-images`](https://github.com/actions/runner-images) and [`partner-runner-images`](https://github.com/actions/partner-runner-images) repositories.
 
 Examples: `windows-2022` / `ubuntu-24.04` / `macos-14`
 
-- 
GitLab