From 6f2292f9346fa0d86d72210bc36dc5e9d1cd7005 Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Fri, 13 Dec 2024 13:46:12 +0000 Subject: [PATCH] Added automation hub to renovate (#51) renovate config to search automation hub. FYI: the token requires manually updating as renovate lacks support https://github.com/renovatebot/renovate/discussions/31854 - but hopefully in the future, they'll create an API to do this --- renovate.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/renovate.json b/renovate.json index 01ae43a..adc7fae 100644 --- a/renovate.json +++ b/renovate.json @@ -3,5 +3,22 @@ "extends": [ "config:best-practices", "schedule:earlyMondays" + ], + "packageRules": [ + { + "matchDatasources": [ + "galaxy-collection" + ], + "registryUrls": [ + "https://console.redhat.com/api/automation-hub/content/published/" + ] + } + ], + "hostRules": [ + { + "matchHost": "https://console.redhat.com/api/automation-hub/content/published/", + "hostType": "galaxy-collection", + "token": "{{ secrets.ANSIBLE_GALAXY_SERVER_AUTOMATION_HUB_TOKEN }}" + } ] }