diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index 5a4b080..469ff8e 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -2,10 +2,11 @@ name: renovate on: schedule: - - cron: "@daily" + - cron: "0 0 * * *" push: branches: - main + workflow_dispatch: # Allows you to run it manually to test jobs: renovate: @@ -16,9 +17,12 @@ jobs: - name: Run Renovate # Pulled from public Docker Hub instead of ghcr.io - uses: docker://renovate/renovate:37.20.2 + uses: docker://renovate/renovate:38 # Pinning to a major version is usually easier to maintain env: # This forces the exact system path to be dynamically generated RENOVATE_CONFIG_FILE: ${{ github.workspace }}/infra/renovate/config.js LOG_LEVEL: "debug" - RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} \ No newline at end of file + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + RENOVATE_ENDPOINT: "https://git.natelubitz.com/api/v1" + with: + args: "${{ github.workspace }}/infra/renovate/config.js" \ No newline at end of file diff --git a/renovate.json b/renovate.json index a19c05e..7912c8b 100644 --- a/renovate.json +++ b/renovate.json @@ -1,9 +1,12 @@ { + "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:base"], "packageRules": [ { - "updateTypes": ["minor", "patch", "pin", "digest"], - "automerge": true + "matchUpdateTypes": ["minor", "patch", "pin", "digest"], + "automerge": true, + "automergeType": "pr", + "requiredStatusChecks": null } ] }