File 6086-gh-Fix-actions-updater.patch of Package erlang

From 2a45333b0d86e824f1d24d9fe631bfa84926f122 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Mon, 9 Oct 2023 10:46:26 +0200
Subject: [PATCH] gh: Fix actions updater

---
 .github/workflows/actions-updater.yaml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/actions-updater.yaml b/.github/workflows/actions-updater.yaml
index 0e186cf4e1..f9d7e17ca9 100644
--- a/.github/workflows/actions-updater.yaml
+++ b/.github/workflows/actions-updater.yaml
@@ -1,22 +1,22 @@
-name: GitHub Actions Updater
+name: GitHub Actions Version Updater
 
+# Controls when the action will run.
 on:
+  workflow_dispatch:
   schedule:
-    # Automatically run on the 1st of every month
-    - cron:  '0 0 1 * *'
+    # Automatically run on every Sunday
+    - cron:  '0 0 * * 0'
 
 jobs:
   build:
     runs-on: ubuntu-latest
 
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
-          token: ${{ secrets.GITHUB_TOKEN }}
+          token: ${{ secrets.ACTIONS_UPDATER_SECRET }}
 
       - name: Run GitHub Actions Version Updater
-        uses: saadmk11/github-actions-version-updater@v0.7.3
+        uses: saadmk11/github-actions-version-updater@v0.8.1
         with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-          commit_message: "Updating GitHub actions to their latest versions"
-          pull_request_labels: "team:IS"
+          token: ${{ secrets.ACTIONS_UPDATER_SECRET }}
-- 
2.35.3

openSUSE Build Service is sponsored by