From 13cab8543df073f76b32d235e936da33c4a8fcfb Mon Sep 17 00:00:00 2001 From: bagas Date: Sun, 28 Dec 2025 13:47:14 +0700 Subject: [PATCH] feat: add renovate --- .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..afca738 --- /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/{{username}}/{{repo name}/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..a492bc9 --- /dev/null +++ b/renovate.json @@ -0,0 +1,11 @@ +{ + "extends": [ + "config:base" + ], + "packageRules": [ + { + "updateTypes": ["minor", "patch", "pin", "digest"], + "automerge": true + } + ] +} \ No newline at end of file