Compare commits

...

1 commit

Author SHA1 Message Date
Renovate Bot
87c583fd39 configure renovate
Some checks reported errors
continuous-integration/drone/push Build was killed
2025-04-30 17:16:01 +02:00
3 changed files with 54 additions and 2 deletions

View file

@ -1,6 +1,6 @@
kind: pipeline
type: docker
name: default
name: Checks
services:
- name: postgres
@ -14,7 +14,7 @@ trigger:
- push
steps:
- name: check
- name: lint
image: docker.io/library/elixir:1.18.3-otp-27
commands:
# Install hex package manager
@ -62,3 +62,33 @@ steps:
- mix deps.get
# Run tests
- mix test
---
kind: pipeline
type: docker
name: renovate
trigger:
event:
- cron
- push
- custom
environment:
LOG_LEVEL: debug
steps:
- name: renovate
image: renovate/renovate:39.256
# https://github.com/renovatebot/renovate/discussions/15049
commands:
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- export RENOVATE_CONFIG_FILE="renovate_config.js"
- renovate-config-validator
- renovate
environment:
RENOVATE_TOKEN:
from_secret: RENOVATE_TOKEN
#GITHUB_COM_TOKEN:
# from_secret: GITHUB_COM_TOKEN

6
renovate.json Normal file
View file

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

16
renovate_config.js Normal file
View file

@ -0,0 +1,16 @@
module.exports = {
endpoint: "https://git.local-it.org/api/v1/",
gitAuthor: 'Renovate Bot <renovate@local-it.org>',
username: 'renovate',
platform: "gitea",
onboarding: true,
autodiscover: true,
persistRepoData: true,
optimizeForDisabled: true,
assignees: [],
labels: ["renovate", "dependencies", "automated"],
onboardingConfig: {
extends: ["config:recommended"],
},
repositories: ["local-it/mitgliederverwaltung"]
};