add config.js

This commit is contained in:
surtur 2022-05-27 15:12:33 +02:00
parent 037975a5a4
commit a27575bc9d
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

43
config.js Normal file
View File

@ -0,0 +1,43 @@
module.exports = {
endpoint: 'https://git.dotya.ml/api/v1/',
platform: 'gitea',
username: 'renovate-bot',
name: 'renovate-bot',
// Gitea access token of Renovate Bot user
token: process.env.RENOVATE_TOKEN,
// gpg signing key for Renovate-Bot-authored commits
gitPrivateKey: process.env.GPG_KEY,
// process repos with renovate config (and befriended with Renovate Bot)
autodiscover: true,
requireConfig: "required",
onboarding: true,
onboardingConfig: {
extends: ['config:base', ':dependencyDashboard'],
},
onboardingBranch: 'renovate/configure',
prFooter: process.env.RENOVATE_PR_FOOTER,
binarySource: 'docker',
dockerImagePrefix: 'ghcr.io/renovatebot',
dockerUser: process.env.RENOVATE_DOCKER_USER,
gitAuthor: process.env.RENOVATE_GIT_AUTHOR,
git_author: process.env.RENOVATE_GIT_AUTHOR,
// explicitly enable following modules, since they are in beta currently
// (2022-05-27)
"pre-commit": {
enabled: true,
},
"git-submodules": {
enabled: true
},
logLevel: 'verbose',
optimizeForDisabled: true
};