From 5cfa338301ba1555c4e1eba0d9d0f1c3aed3236b Mon Sep 17 00:00:00 2001 From: Nathanial Lubitz Date: Mon, 22 Jun 2026 19:04:41 +1000 Subject: [PATCH] default config --- .gitea/workflows/renovate.yaml | 20 ++++++++++++++++++++ config.js | 8 ++++++++ renovate.json | 9 +++++++++ 3 files changed, 37 insertions(+) create mode 100644 .gitea/workflows/renovate.yaml create mode 100644 config.js create mode 100644 renovate.json diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..a99fd9f --- /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/infra/renovate/config.js" # replace it with your config.js path + LOG_LEVEL: "debug" + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # your Revonate bot token \ No newline at end of file diff --git a/config.js b/config.js new file mode 100644 index 0000000..88e3224 --- /dev/null +++ b/config.js @@ -0,0 +1,8 @@ +module.exports = { + "endpoint": "https://gitea.com/api/v1", // replace it with your actual endpoint + "gitAuthor": "Renovate Bot ", + "platform": "gitea", + "onboardingConfigFileName": "renovate.json", + "autodiscover": true, + "optimizeForDisabled": true, +}; \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..a19c05e --- /dev/null +++ b/renovate.json @@ -0,0 +1,9 @@ +{ + "extends": ["config:base"], + "packageRules": [ + { + "updateTypes": ["minor", "patch", "pin", "digest"], + "automerge": true + } + ] +}