From 41dfa3ebaab2300f3319614dbe58dc51a71c250c Mon Sep 17 00:00:00 2001 From: justusbunsi Date: Sat, 30 Nov 2024 22:44:02 +0000 Subject: [PATCH] Allow postUpgradeTasks for gitea/helm-chart repo (#270) 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 Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/270 Reviewed-by: techknowlogick Co-authored-by: justusbunsi Co-committed-by: justusbunsi --- config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.js b/config.js index e332fad..ed52d33 100644 --- a/config.js +++ b/config.js @@ -15,5 +15,10 @@ module.exports = { "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" ] };