Compare commits
19 Commits
5700cb68ab
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 222365463a | |||
| 07001a035d | |||
| 769edbece6 | |||
| 890df9099e | |||
| 0394e4faf8 | |||
| fac8aba327 | |||
| c29494cbc5 | |||
| c419a2e503 | |||
| bff8a0de1a | |||
| 60878ef557 | |||
| 71bedba355 | |||
| a15b2111ed | |||
| 0c16086fc2 | |||
| 7a251b2204 | |||
| deb28705ef | |||
| 3352b5b357 | |||
| a454da4a19 | |||
| c6d74076df | |||
| eab9b9b662 |
@@ -12,9 +12,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/renovatebot/renovate:43
|
container: ghcr.io/renovatebot/renovate:43
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- run: renovate
|
- run: renovate
|
||||||
env:
|
env:
|
||||||
RENOVATE_CONFIG_FILE: "/workspace/spenke-nordic-ab/renovate-config/config.js" # replace it with your config.js path
|
RENOVATE_CONFIG_FILE: "/workspace/spenke-nordic-ab/renovate-config/config.js" # replace it with your config.js path
|
||||||
LOG_LEVEL: "debug"
|
LOG_LEVEL: "info"
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # your Revonate bot token
|
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.
|
||||||
15
config.js
15
config.js
@@ -1,8 +1,21 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
"endpoint": "https://gitea.spenke-nordic.com/api/v1", // replace it with your actual endpoint
|
"endpoint": "https://gitea.spenke-nordic.com/api/v1",
|
||||||
"gitAuthor": "Renovate Bot <renovate-bot@spenke-nordic.com>",
|
"gitAuthor": "Renovate Bot <renovate-bot@spenke-nordic.com>",
|
||||||
"platform": "gitea",
|
"platform": "gitea",
|
||||||
|
"onboarding": true,
|
||||||
|
"onboardingConfig": {
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": ["local>spenke-nordic-ab/renovate-config"]
|
||||||
|
},
|
||||||
"onboardingConfigFileName": "renovate.json",
|
"onboardingConfigFileName": "renovate.json",
|
||||||
"autodiscover": true,
|
"autodiscover": true,
|
||||||
|
"autodiscoverFilter": ["spenke-nordic-ab/*"],
|
||||||
|
"requireConfig": "ignored",
|
||||||
"optimizeForDisabled": true,
|
"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