34 lines
865 B
JavaScript
34 lines
865 B
JavaScript
// lives at /etc/renovate/config.js
|
|
// token goes in the same directory
|
|
|
|
module.exports = {
|
|
platform: 'gitea',
|
|
endpoint: 'https://tildegit.org/api/v1/',
|
|
token: process.env.RENOVATE_TOKEN,
|
|
// repositories: ['MarkEEaton/teams-bot'],
|
|
// Or use autodiscover to find all repos
|
|
autodiscover: true,
|
|
|
|
enabledManagers: ['npm', 'nodenv', 'pip_requirements', 'pip_setup', 'poetry', 'pipenv', 'pep621'],
|
|
// Disable GitHub-specific features
|
|
fetchReleaseNotes: false,
|
|
githubTokenWarn: false,
|
|
|
|
// Only use npm registry, PyPI, etc. - don't query GitHub
|
|
hostRules: [
|
|
{
|
|
hostType: 'github',
|
|
enabled: false,
|
|
}
|
|
],
|
|
|
|
// this is so that renovate doesn't think that python-version is a dependency
|
|
packageRules: [
|
|
{
|
|
// Ignore Python version updates
|
|
matchDatasources: ['python-version'],
|
|
enabled: false,
|
|
}
|
|
],
|
|
};
|