41dfa3ebaa
https://gitea.com/gitea/helm-chart/pulls/734 showed that we have to update the project `README.md` while renovating `values.yaml`. This configures Renovate to allow running specific commands during branch creation/updates while processing repositories[^1]. Since gitea/helm-chart depends on node.js and npm to update the README, we need to allow installing that tool AND allow the `make` command for actually updating the README. In preparation of this being merged, https://gitea.com/gitea/helm-chart/pulls/738 configured the usage of these commands. [^1]: https://docs.renovatebot.com/self-hosted-configuration/#allowedpostupgradecommands for Renovate hosting configuration and https://docs.renovatebot.com/configuration-options/#postupgradetasks for repository configuration. Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com> Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/270 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com> Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
25 lines
757 B
JavaScript
25 lines
757 B
JavaScript
module.exports = {
|
|
"endpoint": "https://gitea.com/api/v1",
|
|
"gitAuthor": "Renovate Bot <renovate-bot@gitea.com>",
|
|
"platform": "gitea",
|
|
"onboardingConfigFileName": "renovate.json5",
|
|
"autodiscover": true,
|
|
"autodiscoverFilter": ["gitea/*"],
|
|
"optimizeForDisabled": true,
|
|
"forkProcessing": "disabled",
|
|
"dryRun": null,
|
|
"binarySource": "install",
|
|
"hostRules": [
|
|
{
|
|
"matchHost": "docker.io",
|
|
"username": process.env.HUB_DOCKER_COM_USER,
|
|
"password": process.env.HUB_DOCKER_COM_TOKEN
|
|
}
|
|
],
|
|
"allowedPostUpgradeCommands": [
|
|
// [gitea/helm-chart] Update README.md on dependency changes in values.yaml
|
|
"install-tool node",
|
|
"make readme"
|
|
]
|
|
};
|