diff --git a/config.js b/config.js new file mode 100644 index 0000000..4c2a437 --- /dev/null +++ b/config.js @@ -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 +};