File 6085-Add-GitHub-actions-version-updater.patch of Package erlang
From b6bc71fb34f5c76a20bced037308ac0e3dbc4c14 Mon Sep 17 00:00:00 2001
From: Tom <TD5@users.noreply.github.com>
Date: Thu, 2 Mar 2023 10:06:15 +0000
Subject: [PATCH 5/5] Add GitHub actions version updater
Add an action to update all GitHub actions, once per month
---
.github/workflows/actions-updater.yaml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 .github/workflows/actions-updater.yaml
diff --git a/.github/workflows/actions-updater.yaml b/.github/workflows/actions-updater.yaml
new file mode 100644
index 0000000000..0e186cf4e1
--- /dev/null
+++ b/.github/workflows/actions-updater.yaml
@@ -0,0 +1,22 @@
+name: GitHub Actions Updater
+
+on:
+ schedule:
+ # Automatically run on the 1st of every month
+ - cron: '0 0 1 * *'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Run GitHub Actions Version Updater
+ uses: saadmk11/github-actions-version-updater@v0.7.3
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ commit_message: "Updating GitHub actions to their latest versions"
+ pull_request_labels: "team:IS"
--
2.35.3