ci: automated renovate dry-run#2276
Conversation
Co-authored-by: Ariel Valentin <arielvalentin@users.noreply.github.com>
| "check:source": "npm run check:source:ruby", | ||
| "check:source:ruby": "rubocop --only Bundler,Gemspec,Metrics,Migration,Minitest,Performance,Rake,RSpec,Security", | ||
| "check:spelling": "cspell -c .cspell.yml .", | ||
| "test:renovate:dryrun": "renovate --dry-run=full --autodiscover", |
There was a problem hiding this comment.
I don't understand what the autodiscover flag is doing here.
When you enable autodiscover, by default, Renovate runs on every repository that the bot account can access. You can limit which repositories Renovate can access by using the autodiscoverFilter config option.
That does not seem ideal and reads to me like it's going to try to run on all repos in the org. Am I misunderstanding this?
Also for whatever reason these options are documented under self hosted. I don't know what that means for us.
Is this only available for certain kinds of customers? Is CNCF OTel self hosted?
There was a problem hiding this comment.
Autodiscover is scanning of the file system for repository config.
Based on the logs (see below), it is only finding 1 repository:
2026-05-01T03:34:02.5660223Z DEBUG: Autodiscovering GitHub repositories
2026-05-01T03:34:02.7381108Z DEBUG: Autodiscovered 1 repositories
2026-05-01T03:34:02.7390334Z INFO: Autodiscovered repositories
2026-05-01T03:34:02.7390803Z "length": 1,
2026-05-01T03:34:02.7391436Z "repositories": ["open-telemetry/opentelemetry-ruby-contrib"]
Note the logs are on the check.
The cli tool = self-hosted as you can use that tool to create your pr's for a collection of repos etc.
There was a problem hiding this comment.
To be extra certain I have added a filter so even if it did somehow end up finding other repos, it will still just run on this one.
Updated the dry run command for Renovate to include a filter for open-telemetry/opentelemetry-ruby-contrib.
This runs a renovate dry-run when the renovate config file changes or the Workflow changes.