init - WIP

This commit is contained in:
WrenIX 2024-02-02 12:02:59 +01:00
commit 267fdb2ee5
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
2 changed files with 59 additions and 0 deletions

View 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
View 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+\\.\\-]*)\""
]
}]
};