Skip to content

ci: automated renovate dry-run#2276

Merged
arielvalentin merged 11 commits intoopen-telemetry:mainfrom
thompson-tomo:renovate_DryRun
May 2, 2026
Merged

ci: automated renovate dry-run#2276
arielvalentin merged 11 commits intoopen-telemetry:mainfrom
thompson-tomo:renovate_DryRun

Conversation

@thompson-tomo
Copy link
Copy Markdown
Contributor

This runs a renovate dry-run when the renovate config file changes or the Workflow changes.

Comment thread .github/workflows/test-renovate.yml
Comment thread .github/workflows/test-renovate.yml
Comment thread package.json Outdated
Comment thread package.json Outdated
"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",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

https://docs.renovatebot.com/self-hosted-configuration/

Copy link
Copy Markdown
Contributor Author

@thompson-tomo thompson-tomo May 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
@arielvalentin arielvalentin added this pull request to the merge queue May 2, 2026
Merged via the queue into open-telemetry:main with commit a21d13c May 2, 2026
18 checks passed
@thompson-tomo thompson-tomo deleted the renovate_DryRun branch May 2, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants