40 lines
990 B
JavaScript
40 lines
990 B
JavaScript
module.exports = {
|
|
// Gitea platform configuration
|
|
platform: 'gitea',
|
|
endpoint: 'https://git.b4l.co.th/api/v1',
|
|
gitAuthor: 'Renovate Bot <renovate-bot@git.b4l.co.th>',
|
|
|
|
// Authentication
|
|
token: process.env.RENOVATE_TOKEN,
|
|
|
|
// GitHub token for accessing GitHub releases (optional but recommended)
|
|
hostRules: [
|
|
{
|
|
hostType: 'github',
|
|
token: process.env.GITHUB_TOKEN,
|
|
}
|
|
],
|
|
|
|
// Repository discovery
|
|
autodiscover: true,
|
|
autodiscoverFilter: ['B4L/*'], // Adjust to your organization/user
|
|
|
|
// Or specify repositories explicitly:
|
|
// repositories: ['B4L/vintage-collection'],
|
|
|
|
// Configuration
|
|
onboardingConfigFileName: 'renovate.json',
|
|
requireConfig: 'optional', // Allow repos without renovate.json
|
|
|
|
// Performance optimization
|
|
optimizeForDisabled: true,
|
|
|
|
// Rate limiting
|
|
prConcurrentLimit: 5,
|
|
prHourlyLimit: 2,
|
|
|
|
// Caching
|
|
cacheDir: '/tmp/renovate/cache',
|
|
repositoryCache: 'enabled',
|
|
};
|