Files
renovate-config/config.js
ditmarvisser a4454b56ce
All checks were successful
renovate / renovate (push) Successful in 8m29s
feat: rule for gitea
2025-10-09 19:42:52 +02:00

25 lines
699 B
JavaScript

module.exports = {
platform: 'gitea',
endpoint: 'https://gitea.ditmarvisser.net', // set this to the url of your gitea instance
gitAuthor: 'Renovate <renovate@example.com>', // set the email address to whatever email your gave this user in your gitea
username: 'renovate',
autodiscover: true,
onboardingConfig: {
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['config:recommended'],
},
optimizeForDisabled: true,
persistRepoData: true,
hostRules: [
{
hostType: 'github',
matchHost: 'github.com',
token: process.env.GITHUB_TOKEN,
},
{
hostType: 'gitea',
matchHost: 'gitea.ditmarvisser.net',
token: process.env.RENOVATE_TOKEN,
},
],
};