Compare commits
7 Commits
feat/crash
...
renovate/k
| Author | SHA1 | Date | |
|---|---|---|---|
| 54739a5348 | |||
| 81baadfaf3 | |||
| 35022267dc | |||
| 588e024036 | |||
| eeef089e4a | |||
| 9023899ddb | |||
| 2f153fef56 |
42
.gitea/workflows/renovate.yml
Normal file
42
.gitea/workflows/renovate.yml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
name: Renovate
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Weekly sweep. Mondays 05:00 UTC — this cron owns the cadence; the repo's
|
||||||
|
# renovate.json5 deliberately has no internal schedule (avoids double-gating).
|
||||||
|
schedule:
|
||||||
|
- cron: '0 5 * * 1'
|
||||||
|
# Manual run for an on-demand sweep from the Actions tab.
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# Never let two Renovate runs touch the repo at once.
|
||||||
|
concurrency:
|
||||||
|
group: renovate
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
runs-on: docker
|
||||||
|
# Run the Renovate image *as* the job container and invoke the `renovate`
|
||||||
|
# binary directly. The renovatebot/github-action wrapper is a thin Node
|
||||||
|
# action that shells out to `docker run …` — it needs a Docker CLI + socket
|
||||||
|
# inside the job, which the Gitea runner's plain node container has not, so
|
||||||
|
# it died on "Unable to locate executable file: docker". Running the image
|
||||||
|
# directly drops the docker-in-docker requirement entirely.
|
||||||
|
# Full tag pinned; Renovate's github-actions manager keeps it bumped.
|
||||||
|
container:
|
||||||
|
image: ghcr.io/renovatebot/renovate:43.232.0
|
||||||
|
steps:
|
||||||
|
- name: Run Renovate
|
||||||
|
run: renovate
|
||||||
|
env:
|
||||||
|
# Self-hosted Gitea, not github.com.
|
||||||
|
RENOVATE_PLATFORM: gitea
|
||||||
|
RENOVATE_ENDPOINT: https://gitea.jeanlucmakiola.de/api/v1
|
||||||
|
# Bot-account token (Gitea secret). Needs repo read/write + PR scope.
|
||||||
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
# Scope to this repo only — no org-wide autodiscovery.
|
||||||
|
RENOVATE_AUTODISCOVER: 'false'
|
||||||
|
RENOVATE_REPOSITORIES: '["makiolaj/calendula"]'
|
||||||
|
# Commits/PRs authored as the bot, not a real maintainer.
|
||||||
|
RENOVATE_GIT_AUTHOR: 'Renovate Bot <renovate@jeanlucmakiola.de>'
|
||||||
|
LOG_LEVEL: info
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[versions]
|
[versions]
|
||||||
agp = "9.2.1"
|
agp = "9.2.1"
|
||||||
kotlin = "2.3.21"
|
kotlin = "2.4.0"
|
||||||
ksp = "2.3.9"
|
ksp = "2.3.9"
|
||||||
hilt = "2.59.2"
|
hilt = "2.59.2"
|
||||||
coreKtx = "1.19.0"
|
coreKtx = "1.19.0"
|
||||||
|
|||||||
56
renovate.json5
Normal file
56
renovate.json5
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
|
||||||
|
extends: [
|
||||||
|
"config:recommended",
|
||||||
|
// chore(deps): … — match the repo's conventional-commit style.
|
||||||
|
":semanticCommits",
|
||||||
|
],
|
||||||
|
|
||||||
|
// No automerge: a dependency bump goes through the same review (and, for
|
||||||
|
// anything touching the build, the same on-device check) as a feature
|
||||||
|
// before it can ride a release — see docs/RELEASING.md and the
|
||||||
|
// "hold release for approval" rule.
|
||||||
|
automerge: false,
|
||||||
|
|
||||||
|
// One reviewable surface; the dashboard issue lists everything pending.
|
||||||
|
dependencyDashboard: true,
|
||||||
|
labels: ["dependencies"],
|
||||||
|
prConcurrentLimit: 5,
|
||||||
|
prHourlyLimit: 0,
|
||||||
|
|
||||||
|
// Cadence is owned by the Gitea Actions cron (.gitea/workflows/renovate.yml,
|
||||||
|
// Mondays) — no internal `schedule` here, so the two don't double-gate and
|
||||||
|
// silently skip a run.
|
||||||
|
|
||||||
|
// Gitea Actions workflows live under .gitea/workflows, not .github — extend
|
||||||
|
// the github-actions manager (same syntax) to watch them too.
|
||||||
|
"github-actions": {
|
||||||
|
fileMatch: ["^\\.gitea/workflows/[^/]+\\.ya?ml$"],
|
||||||
|
},
|
||||||
|
|
||||||
|
packageRules: [
|
||||||
|
// material3 is deliberately pinned to the 1.5 *alpha* line for the
|
||||||
|
// Expressive APIs (see gradle/libs.versions.toml). Follow the alpha train
|
||||||
|
// but keep it in its own PR, reviewed in isolation; revisit the pin when
|
||||||
|
// 1.5.0 stable lands.
|
||||||
|
{
|
||||||
|
matchPackageNames: ["androidx.compose.material3:material3"],
|
||||||
|
ignoreUnstable: false,
|
||||||
|
groupName: "material3 (alpha)",
|
||||||
|
},
|
||||||
|
// Test-only deps: group into one low-noise PR.
|
||||||
|
{
|
||||||
|
matchPackageNames: [
|
||||||
|
"org.junit.jupiter:**",
|
||||||
|
"org.junit.platform:**",
|
||||||
|
"com.google.truth:**",
|
||||||
|
"app.cash.turbine:**",
|
||||||
|
"androidx.test:**",
|
||||||
|
"androidx.test.espresso:**",
|
||||||
|
"androidx.test.ext:**",
|
||||||
|
],
|
||||||
|
groupName: "test dependencies",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user