Files
renovate-config/config.js
Renovate Bot 95eec88682
Some checks failed
renovate / renovate (push) Has been cancelled
Update config.js
2025-07-05 21:50:11 +00:00

24 lines
966 B
JavaScript

module.exports = {
platform: 'gitea',
endpoint: 'http://gitea-server:3000', // set this to the url of your gitea instance
gitAuthor: 'Renovate Bot <crunchylab@crunchymetal.com>', // set the email address to whatever email your gave this user in your gitea
username: 'renovate-bot',
autodiscover: true,
onboardingConfig: {
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['config:recommended'],
},
optimizeForDisabled: true,
persistRepoData: true,
hostRules: [
{
// This rule applies to any host that Renovate's internal Git client tries to connect to
// that matches 'crunchy-orchestrator:3000'.
matchHost: 'crunchy-orchestrator:3000',
// Instead of crunchy-orchestrator:3000, use gitea-server:3000
replaceHost: 'gitea-server:3000',
// Ensure the token is also applied for this replacement host
token: process.env.RENOVATE_TOKEN, // Use the same token you pass via env
},
],
};