commit 26fbff8cf34175a47a2c9bba2aa50227a2f2cce3 Author: Julien Valverdé Date: Tue Sep 2 03:44:51 2025 +0200 Renovate setup diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..fbf5118 --- /dev/null +++ b/.gitea/workflows/renovate.yaml @@ -0,0 +1,23 @@ +name: renovate + +on: + workflow_dispatch: + branches: + - master + schedule: + - cron: "0 12 * * *" + push: + branches: + - master + +jobs: + renovate: + runs-on: ubuntu-latest + container: ghcr.io/renovatebot/renovate:latest + steps: + - uses: actions/checkout@v4 + - run: renovate + env: + RENOVATE_CONFIG_FILE: ${{ gitea.workspace }}/config.js + LOG_LEVEL: debug + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} diff --git a/config.js b/config.js new file mode 100644 index 0000000..02e19ff --- /dev/null +++ b/config.js @@ -0,0 +1,13 @@ +module.exports = { + platform: "gitea", + endpoint: "https://git.valverde.cloud/api/v1/", + gitAuthor: "Renovate Bot ", + username: "renovate-bot", + autodiscover: true, + onboardingConfig: { + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: ["config:recommended"], + }, + optimizeForDisabled: true, + persistRepoData: true, +}