From 6afeb6e30d02f1e55fc89f5c6c26c0f577ce6565 Mon Sep 17 00:00:00 2001 From: Andre Plourde Date: Fri, 13 Sep 2024 16:09:34 +0200 Subject: [PATCH] Ajout d'un cron renovate pour les dependances --- .gitea/workflows/renovate.yaml | 20 ++++++++++++++++++++ renovate.json | 11 +++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .gitea/workflows/renovate.yaml create mode 100644 renovate.json diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..054c764 --- /dev/null +++ b/.gitea/workflows/renovate.yaml @@ -0,0 +1,20 @@ +name: renovate + +on: + schedule: + - cron: "@daily" + push: + branches: + - main + +jobs: + renovate: + runs-on: ubuntu-latest + container: ghcr.io/renovatebot/renovate:37.20.2 + steps: + - uses: actions/checkout@v4 + - run: renovate + env: + RENOVATE_CONFIG_FILE: "/workspace/mcmuzzle/renovate-config/config.js" + LOG_LEVEL: "debug" + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..324a11e --- /dev/null +++ b/renovate.json @@ -0,0 +1,11 @@ +{ + "extends": [ + "config:base" + ], + "packageRules": [ + { + "updateTypes": ["minor", "patch", "pin", "digest"], + "automerge": false + } + ] + }