build: move dependency updates from renovate to dependabot

Monthly, grouped, minor and patch merge themselves once the required checks pass. Toolchain updates stay manual because F-Droid compares its rebuild with the release APK. renovate.json stays only to keep the installed app from re-onboarding.
This commit is contained in:
Anthonyy232 committed 2026-11-15 10:10:41 -08:00
1 parent 007740d626
commit 51a67a709d
4 files changed
+60 -51

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
version: 2
updates:
- package-ecosystem: gradle
directory: /
schedule:
interval: monthly
cooldown:
default-days: 5
groups:
# F-Droid rebuilds each release and compares it with ours: toolchain updates are merged by hand
toolchain:
patterns:
- gradle-wrapper
- com.android.application*
- com.android.tools.build*
- org.jetbrains.kotlin*
- com.google.devtools.ksp*
minor-patch:
update-types: [minor, patch]
major:
update-types: [major]
commit-message:
prefix: chore(deps)
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
cooldown:
default-days: 5
groups:
minor-patch:
update-types: [minor, patch]
major:
update-types: [major]
commit-message:
prefix: chore(deps)
@@ -0,0 +1,22 @@
name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
name: Auto-merge
if: github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- id: meta
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3
# Waits for the ruleset's required checks
- if: steps.meta.outputs.update-type != 'version-update:semver-major' && steps.meta.outputs.dependency-group != 'toolchain'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}