From 1fed5396e96ea8626c2ce795d2e0b32cfd0b9d7a Mon Sep 17 00:00:00 2001
From: "Valentin D. Pinkman" <valentin.dealmeida@ledger.fr>
Date: Fri, 29 Nov 2024 14:11:43 +0100
Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20(ci):=20Fix=20ubuntu=20version?=
 =?UTF-8?q?=20+=20merge=20queue=20on=20gh=20runners?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .github/workflows/generate_sbom.yml | 2 +-
 .github/workflows/merge_queue.yml   | 2 +-
 .github/workflows/pull_request.yml  | 6 +++---
 .github/workflows/version.yml       | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/generate_sbom.yml b/.github/workflows/generate_sbom.yml
index 78cd8a011..a075f921e 100644
--- a/.github/workflows/generate_sbom.yml
+++ b/.github/workflows/generate_sbom.yml
@@ -9,7 +9,7 @@ on:
 
 jobs:
   generate-sbom:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     steps:
       - uses: actions/checkout@v4
 
diff --git a/.github/workflows/merge_queue.yml b/.github/workflows/merge_queue.yml
index 35f13c7ca..1974bb035 100644
--- a/.github/workflows/merge_queue.yml
+++ b/.github/workflows/merge_queue.yml
@@ -12,7 +12,7 @@ concurrency:
 jobs:
   checks:
     name: Run health check and unit tests
-    runs-on: ledgerhq-device-sdk
+    runs-on: ubuntu-22.04
     steps:
       - uses: actions/checkout@v4
 
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 68bf29208..03b9ae97a 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -15,13 +15,13 @@ concurrency:
 jobs:
   auto-assign:
     name: Auto assign
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     steps:
       - uses: toshimaru/auto-author-assign@v2.1.1
 
   danger:
     name: Run Danger check
-    runs-on: [ubuntu-latest]
+    runs-on: ubuntu-22.04
     steps:
       - uses: actions/checkout@v4
 
@@ -38,7 +38,7 @@ jobs:
   checks:
     name: Run health check and unit tests
     needs: [danger]
-    runs-on: ${{ !github.event.pull_request.head.repo.fork && 'ledgerhq-device-sdk' || 'ubuntu-latest' }}
+    runs-on: ${{ !github.event.pull_request.head.repo.fork && 'ledgerhq-device-sdk' || 'ubuntu-22.04' }}
     steps:
       - uses: actions/checkout@v4
 
diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml
index 0ca1a6a35..9b114eaf6 100644
--- a/.github/workflows/version.yml
+++ b/.github/workflows/version.yml
@@ -9,7 +9,7 @@ env:
 
 jobs:
   version:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     steps:
       - uses: actions/checkout@v4