File 0258-renovate-update-actions-in-lockstep.patch of Package erlang

From 3907bafe69c483bdff94cf4ddd473f41ec76f8b7 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Fri, 13 Feb 2026 10:04:40 +0100
Subject: [PATCH] renovate: update actions in lockstep

update `upload-artifact` and `download-artifact` only in a lockstep fashion,
i.e., if `upload-artifact` is updated to version 5, so does need to be
`download-artifact`. this is necessary to keep compatibility guarantees
between the actions
---
 renovate.json5 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/renovate.json5 b/renovate.json5
index 0c6762f5b4..eab948b627 100644
--- a/renovate.json5
+++ b/renovate.json5
@@ -53,6 +53,16 @@
                 ".github/actions/*/*.yaml"
             ]
         },
+        // This is used to always update upload and download in lockstep
+        // e.g., if upload is update to version 5, so does need to be download.
+        {
+            "matchManagers": ["github-actions"],
+            "groupName": "github-actions-artifacts",
+            "matchPackageNames": [
+                "actions/upload-artifact",
+                "actions/download-artifact"
+            ]
+         }
         // This is used to match out the current version from vendor.info
         {
             "matchFileNames": ["**/vendor.info"],
-- 
2.51.0

openSUSE Build Service is sponsored by