Allow autodiscover filtering for repo topic (original) (raw)

What would you like Renovate to be able to do?

This is just an idea I'd like to pose, for self-hosted configs. There are already a couple topics open for enhancing autodiscover filtering abilities, including allowing filtering by team. I think it would be useful to be able to filter by repo topic, defining something like

"autodiscoverTopics": ['managed-by-renovate'].

This would work similar to repositories but allowing repos more direct control. It also enables renovate to be toggled easily without removing configs. /user/repos already returns repo topics so it would be easy to filter after fetching the repo list.

I'm considering this in trying to figure out how to allow repositories to opt-in to renovate without config changes each time, and without having to check every repo for a config on each run (the org has 500+ repos)