diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml new file mode 100644 index 0000000..919d1ad --- /dev/null +++ b/.gitea/workflows/renovate.yml @@ -0,0 +1,17 @@ +name: renovate +on: + schedule: + - cron: "@daily" + workflow_dispatch: +jobs: + renovate: + runs-on: ubuntu-latest + container: ghcr.io/renovatebot/renovate:latest + steps: + - uses: actions/checkout@v4 + - run: renovate + env: + RENOVATE_CONFIG_FILE: "/workspace/tudattr/renovate-config/config.js" + LOG_LEVEL: "info" + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + GITHUB_COM_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/config.js b/config.js new file mode 100644 index 0000000..addb8d1 --- /dev/null +++ b/config.js @@ -0,0 +1,8 @@ +module.exports = { + endpoint: "https://git.seyshiro.de/api/v1", + gitAuthor: "Renovate Bot ", + platform: "gitea", + autodiscover: true, + optimizeForDisabled: true, + onboardingConfigFileName: "renovate.json", +};