From 8d05c5d2df3c1970f46e78b4f63a3826dccd5a04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20P=C3=B6schl?= Date: Mon, 28 Oct 2024 06:16:33 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20package=20updater=20action=20?= =?UTF-8?q?for=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/addon-update-packages.yaml | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/addon-update-packages.yaml diff --git a/.github/workflows/addon-update-packages.yaml b/.github/workflows/addon-update-packages.yaml new file mode 100644 index 0000000..c63e3e7 --- /dev/null +++ b/.github/workflows/addon-update-packages.yaml @@ -0,0 +1,34 @@ +name: Run Package updates + +# yamllint disable-line rule:truthy +on: + schedule: + - cron: "0 0 * * FRI" + workflow_dispatch: + +jobs: + check-for-updates: + name: Check for updates + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: + - name: ↩ī¸ Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: 🔧 Set git bot user + shell: bash + run: | + git config user.name github-actions + git config user.email github-actions@github.com + + - name: 🚀 Run Updater + uses: Poeschl/container-package-updater@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + containerFile: syncthing/Dockerfile + osVersion: 3.20 + architectures: "x86_64, aarch64, armhf, armv7, x86"