File 4861-gh-temporarily-use-20.04-for-some-jobs.patch of Package erlang

From 1b1642906bf37340292a5662bdfa30e9dc4ad947 Mon Sep 17 00:00:00 2001
From: Jakub Witczak <kuba@erlang.org>
Date: Mon, 5 Dec 2022 11:31:35 +0100
Subject: [PATCH] gh: temporarily use 20.04 for some jobs

- https://github.com/actions/runner-images/issues/6673
- some jobs failed with ubuntu-22.04 which does not have rebar3
---
 .github/workflows/pr-comment.yaml           | 4 ++--
 .github/workflows/sync-github-releases.yaml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/pr-comment.yaml b/.github/workflows/pr-comment.yaml
index 4ae88c38aa..b139d8232b 100644
--- a/.github/workflows/pr-comment.yaml
+++ b/.github/workflows/pr-comment.yaml
@@ -14,7 +14,7 @@ concurrency: pr-comment
 
 jobs:
   pr-number:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     if: github.repository == 'erlang/otp'
     outputs:
       result: ${{ steps.pr-number.outputs.result }}
@@ -45,7 +45,7 @@ jobs:
                    pr_number: ${{ needs.pr-number.outputs.result }} });
 
   finished-tests:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     needs: pr-number
     ## Limit concurrency so that only one job deploys to erlang.github.io
     concurrency: erlang.github.io-deploy
diff --git a/.github/workflows/sync-github-releases.yaml b/.github/workflows/sync-github-releases.yaml
index d2df5fa502..af3245f1ba 100644
--- a/.github/workflows/sync-github-releases.yaml
+++ b/.github/workflows/sync-github-releases.yaml
@@ -30,7 +30,7 @@ jobs:
   sync-prs:
     if: github.repository == 'erlang/otp'
     concurrency: erlang.github.io-deploy
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
       - uses: actions/checkout@v2
         with:
-- 
2.35.3

openSUSE Build Service is sponsored by