feat: init commit
renovate / renovate (push) Failing after 2m25s

This commit is contained in:
2026-06-05 20:07:47 +02:00
commit 547270f3da
10 changed files with 236 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
name: renovate
on:
schedule:
- cron: "@daily"
push:
branches:
- main
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:43.191.2
steps:
- uses: actions/checkout@v6
- run: renovate
env:
RENOVATE_CONFIG_FILE: "/workspace/gitea/renovate-config/config.js"
LOG_LEVEL: "debug"
RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
HUB_DOCKER_COM_USER: ${{ secrets.HUB_DOCKER_COM_USER }}
HUB_DOCKER_COM_TOKEN: ${{ secrets.HUB_DOCKER_COM_TOKEN }}
+9
View File
@@ -0,0 +1,9 @@
MIT License
Copyright (c) 2023 gitea
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+94
View File
@@ -0,0 +1,94 @@
# renovate-config
To host the renovate config.
- `config.js` holds the self-hosted Renovate configuration so that Renovate knows what and how it should process.
- `renovate.json` in this repository ensures to receive Renovate updates.
- `default.json` holds the basic config for all repositories. It extends the presets by the renovate project defined in `renovate-schema.json`.
- Each repository can extend/alter this config by adding a `renovate.json` file to the root of the repository.
## Reusable presets
### Golang dependency group
What it does:
- Groups all Golang dependencies into one PR
- Respects your repository's `separateMajorMinor` setting[^1]
- Runs `go mod tidy` before committing to ensure a clean `go.sum`[^2]
Usage:
```diff
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:go-deps"
]
}
```
### NPM dependency group
What it does:
- Groups all NPM dependencies[^3] into one PR
- Respects your repository's `separateMajorMinor` setting[^1]
- Groups all NPM dev-dependencies[^3] into one PR
- Respects your repository's `separateMajorMinor` setting[^1]
Usage:
```diff
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:npm-deps"
]
}
```
### Workflow dependency group
What it does:
- Groups all workflow dependencies into one PR
- Respects your repository's `separateMajorMinor` setting[^1]
Usage:
```diff
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:workflow-deps"
]
}
```
### Security fixes
What it does:
- Bumps a dependency to resolve a vulnerability[^4]
- Overrules any scheduling and grouping for that vulnerability
Usage:
```diff
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>gitea/renovate-config",
+ "local>gitea/renovate-config:security"
]
}
```
[^1]: [Renovate Docs: separateMajorMinor](https://docs.renovatebot.com/configuration-options/#separatemajorminor)
[^2]: [Renovate Docs: postUpdateOptions](https://docs.renovatebot.com/configuration-options/#postupdateoptions)
[^3]: [Renovate Docs: npm dependency types](https://docs.renovatebot.com/modules/manager/npm/#additional-information)
[^4]: [Renovate Docs: osv vulnerabilities](https://docs.renovatebot.com/configuration-options/#osvvulnerabilityalerts) and [Renovate Docs: vulnerabilityAlerts](https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts)
+12
View File
@@ -0,0 +1,12 @@
module.exports = {
"endpoint": "https://gitea.nerthus.nl/api/v1",
"gitAuthor": "Renovate Bot <renovate-bot@nerthus.nl>",
"platform": "gitea",
"onboardingConfigFileName": "renovate.json5",
"autodiscover": true,
"autodiscoverFilter": ["gitea/*"],
"optimizeForDisabled": true,
"forkProcessing": "disabled",
"dryRun": null,
"binarySource": "install"
};
+9
View File
@@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended","local>gitea/renovate-config:workflow-deps"],
"configMigration": true,
"minimumReleaseAge": "5 days",
"semanticCommits": "enabled",
"automergeStrategy": "auto",
"platformAutomerge": false
}
+24
View File
@@ -0,0 +1,24 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"gomod": {
"enabled": true
},
"postUpdateOptions": [
"gomodTidy",
"gomodUpdateImportPaths"
],
"packageRules": [
{
"groupName": "Go dependencies",
"matchManagers": ["gomod"]
},
{
"description": "Bump the toolchain directive immediately",
"matchManagers": ["gomod"],
"matchDepTypes": ["toolchain"],
"rangeStrategy": "bump",
"schedule": ["at any time"],
"minimumReleaseAge": "0"
}
]
}
+21
View File
@@ -0,0 +1,21 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"npm": {
"enabled": true
},
"postUpdateOptions": [
"pnpmDedupe"
],
"packageRules": [
{
"groupName": "npm dependencies",
"matchManagers": ["npm"],
"matchDepTypes": ["dependencies"]
},
{
"groupName": "npm dev-dependencies",
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"]
}
]
}
+23
View File
@@ -0,0 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["gitea/renovate-config"],
"dependencyDashboard": true,
"enabledManagers": [
"github-actions"
],
"automerge": true,
"ignoreTests": true,
"packageRules": [
{
"description": "use fix scope for renovate updates",
"matchPackageNames": ["renovatebot/renovate"],
"semanticCommitType": "fix"
},
{
"description": "Automerge renovate updates",
"matchPackageNames": ["renovatebot/renovate"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": true
}
]
}
+7
View File
@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": {
"enabled": true
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"github-actions": {
"enabled": true
},
"packageRules": [
{
"groupName": "workflow dependencies",
"matchManagers": ["github-actions"]
}
]
}