File 1051-gh-Add-some-docs-for-gh-actions-update.patch of Package erlang

From f1646a3f3d6ec491b8b85c3166573668e73ed4c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 12 Jun 2025 15:05:07 +0200
Subject: [PATCH] gh: Add some docs for gh actions update

---
 .github/scripts/update-gh-actions-versions.es | 19 +++++++++++++++++++
 renovate.json5                                |  2 +-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/.github/scripts/update-gh-actions-versions.es b/.github/scripts/update-gh-actions-versions.es
index 8ba522de82..538e98f4f8 100755
--- a/.github/scripts/update-gh-actions-versions.es
+++ b/.github/scripts/update-gh-actions-versions.es
@@ -65,6 +65,25 @@ opts() ->
                    OriginalBranch = cmd(Opts, "git branch --show-current"),
                    run(lists:foldl(fun parse_default/2, Opts#{ original_branch => OriginalBranch }, Arguments))
            end,
+       help => """
+            Use this script to update github actions versions by merging
+            renovate PRs to the respective branches. Running this script
+            will reset your master/maint/maint-X branches and requires
+            you to have the gh cli installed with a token allowing it
+            to do various things to github.
+
+            Typical usages:
+
+              ## Do a dry run, this will not push anything to github
+              ## event if it asks you to confirm sending things there.
+              .github/scripts/update-gh-actions.es --dry
+
+              ## Do a dry run with verbose logs
+              .github/scripts/update-gh-actions.es --dry --verbose
+
+              ## Do a run that updates things on github
+              .github/scripts/update-gh-actions.es
+            """,
        arguments => Arguments
      }.
 
diff --git a/renovate.json5 b/renovate.json5
index a73b0d582c..d14280aa7e 100644
--- a/renovate.json5
+++ b/renovate.json5
@@ -24,7 +24,7 @@
   components. We use the [Forking Renovate](https://github.com/apps/forking-renovate)
   App as it does not need write permissions to the otp repository.
 
-  There is a permanent issue with the status here: https://github.com/erlang/otp/issue/1234
+  There is a permanent issue with the status here: https://github.com/erlang/otp/issue/9908
   You can view the status from renovates perspective here: https://developer.mend.io/github/erlang/otp
 
   Renovate will open PRs to update:
-- 
2.43.0

openSUSE Build Service is sponsored by