From 4bb60bfef7bf12a267185c74e6d28756a4f71916 Mon Sep 17 00:00:00 2001 From: Daniel Cormier Date: Thu, 5 Dec 2024 12:59:54 -0500 Subject: [PATCH] added config.js --- .gitea/workflows/renovate.yaml | 20 ++++++++++++++++++++ config.js | 8 ++++++++ 2 files changed, 28 insertions(+) create mode 100644 .gitea/workflows/renovate.yaml create mode 100644 config.js diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..ccc50be --- /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" # replace it with your config.js path + LOG_LEVEL: "debug" + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # your Revonate bot token diff --git a/config.js b/config.js new file mode 100644 index 0000000..e79ecf1 --- /dev/null +++ b/config.js @@ -0,0 +1,8 @@ +module.exports = { + "endpoint": "https://gitea.mylocalhost.cloud/api/v1", // replace it with your actual endpoint + "gitAuthor": "Renovate Bot ", + "platform": "gitea", + "onboardingConfigFileName": "renovate.json", + "autodiscover": true, + "optimizeForDisabled": true, +};