Compare commits
11 Commits
a15b2111ed
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 222365463a | |||
| 07001a035d | |||
| 769edbece6 | |||
| 890df9099e | |||
| 0394e4faf8 | |||
| fac8aba327 | |||
| c29494cbc5 | |||
| c419a2e503 | |||
| bff8a0de1a | |||
| 60878ef557 | |||
| 71bedba355 |
@@ -16,6 +16,6 @@ jobs:
|
||||
- run: renovate
|
||||
env:
|
||||
RENOVATE_CONFIG_FILE: "/workspace/spenke-nordic-ab/renovate-config/config.js" # replace it with your config.js path
|
||||
LOG_LEVEL: "warn"
|
||||
LOG_LEVEL: "info"
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # your Revonate bot token
|
||||
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
||||
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>spenke-nordic-ab/renovate-config"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## 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.
|
||||
25
config.js
25
config.js
@@ -1,8 +1,21 @@
|
||||
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",
|
||||
"gitAuthor": "Renovate Bot <renovate-bot@spenke-nordic.com>",
|
||||
"platform": "gitea",
|
||||
"onboarding": true,
|
||||
"onboardingConfig": {
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["local>spenke-nordic-ab/renovate-config"]
|
||||
},
|
||||
"onboardingConfigFileName": "renovate.json",
|
||||
"autodiscover": true,
|
||||
"autodiscoverFilter": ["spenke-nordic-ab/*"],
|
||||
"requireConfig": "ignored",
|
||||
"optimizeForDisabled": true,
|
||||
"dependencyDashboard": true,
|
||||
"dependencyDashboardTitle": "Dependency Dashboard",
|
||||
"prConcurrentLimit": 10,
|
||||
"prHourlyLimit": 0,
|
||||
"minimumReleaseAge": "3 days",
|
||||
"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>spenke-nordic-ab/renovate-config"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user