Set up Renovate configuration with default and Docker-specific presets. Updated bot settings and added README.
All checks were successful
renovate / renovate (push) Successful in 3m22s

This commit is contained in:
2026-04-02 22:09:34 +02:00
parent c419a2e503
commit c29494cbc5
6 changed files with 77 additions and 7 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.idea

27
README.md Normal file
View File

@@ -0,0 +1,27 @@
# Renovate Configuration
Base Renovate configuration for the self-hosted Gitea instance at `spenke-nordic.com`.
## Usage
Extend this configuration in your repository's `renovate.json`:
```json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>paulspenke/renovate-config:default"
]
}
```
## Presets
- `default`: Base configuration with standard rules.
- `docker`: Specific rules for Docker images.
- `npm`: Specific rules for Node.js packages.
- `github-actions`: Rules for GitHub/Gitea Actions.
## Bot Configuration
The bot is configured via `config.js` to run on the `gitea` platform.

View File

@@ -1,8 +1,14 @@
module.exports = {
"endpoint": "https://gitea.spenke-nordic.com/api/v1", // replace it with your actual endpoint
"gitAuthor": "Renovate Bot <renovate-bot@spenke-nordic.com>",
"platform": "gitea",
"onboardingConfigFileName": "renovate.json",
"autodiscover": true,
"optimizeForDisabled": true,
endpoint: "https://gitea.spenke-nordic.com/api/v1", // replace it with your actual endpoint
gitAuthor: "Renovate Bot <renovate-bot@spenke-nordic.com>",
platform: "gitea",
onboardingConfigFileName: "renovate.json",
autodiscover: true,
optimizeForDisabled: true,
dependencyDashboard: true,
dependencyDashboardTitle: "Dependency Dashboard",
prConcurrentLimit: 10,
prHourlyLimit: 0,
stabilityDays: 3,
labels: ["dependencies", "renovate"],
};

19
default.json Normal file
View File

@@ -0,0 +1,19 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Base configuration with standard rules",
"extends": [
"config:recommended",
":dependencyDashboard",
":separateMajorReleases",
":combinePatchMinorReleases",
"group:allNonMajor"
],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true,
"automergeType": "pr",
"platformAutomerge": true
}
]
}

14
docker.json Normal file
View File

@@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Docker specific rules",
"extends": [
"docker:pinDigests"
],
"packageRules": [
{
"matchDatasources": ["docker"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
}
]
}

View File

@@ -1,3 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>paulspenke/renovate-config:default"
]
}