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
All checks were successful
renovate / renovate (push) Successful in 3m22s
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.idea
|
||||
27
README.md
Normal file
27
README.md
Normal 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.
|
||||
18
config.js
18
config.js
@@ -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
19
default.json
Normal 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
14
docker.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user