init - WIP
This commit is contained in:
commit
267fdb2ee5
2 changed files with 59 additions and 0 deletions
19
.forgejo/workflows/renovate.yaml
Normal file
19
.forgejo/workflows/renovate.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: renovate
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
schedule:
|
||||||
|
- cron: "*/10 * * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/renovatebot/renovate:37.176
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: renovate
|
||||||
|
env:
|
||||||
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
40
config.js
Normal file
40
config.js
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
module.exports = {
|
||||||
|
"globalExtends": [
|
||||||
|
"config:base",
|
||||||
|
":semanticCommitTypeAll(fix)",
|
||||||
|
":disableRateLimiting"
|
||||||
|
],
|
||||||
|
"endpoint": "https://codeberg.org/api/v1",
|
||||||
|
"platform": "gitea",
|
||||||
|
"githubTokenWarn": false,
|
||||||
|
"automerge": true,
|
||||||
|
"gitAuthor": "Renovate Bot <dev.codeberg.renovate@wrenix.eu>",
|
||||||
|
|
||||||
|
"commitMessageAction": "update",
|
||||||
|
"commitMessageTopic": "dependency",
|
||||||
|
"semanticCommits": "enabled",
|
||||||
|
"semanticCommitScope": "{{depName}}",
|
||||||
|
|
||||||
|
"requireConfig": "ignored",
|
||||||
|
"onboarding": true,
|
||||||
|
"autodiscover": true,
|
||||||
|
"autodiscoverFilter": [
|
||||||
|
"wrenix/*"
|
||||||
|
],
|
||||||
|
"hostRules": [
|
||||||
|
{
|
||||||
|
"matchHost": "codeberg.org",
|
||||||
|
"username": "wrenix",
|
||||||
|
"password": process.env.RENOVATE_TOKEN
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customManagers": [{
|
||||||
|
"customType": "regex",
|
||||||
|
"datasourceTemplate": "docker",
|
||||||
|
"fileMatch": ["(^|/)Chart\\.yaml$"],
|
||||||
|
"matchStrings": [
|
||||||
|
"#\\s?renovate: image=(?<depName>.*?)\\s?appVersion:\\s?\\\"?(?<currentValue>[\\w+\\.\\-]*)\""
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue