Skip to content

Conversation

@gursewak1997
Copy link
Contributor

  • Explicitly validate both renovate.json and renovate-shared-config.json
  • Change RENOVATE_DRY_RUN from lookup to full

The previous validation only checked renovate.json and missed errors in renovate-shared-config.json

@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

- Explicitly validate both renovate.json and renovate-shared-config.json
- Change RENOVATE_DRY_RUN from lookup to full
- Fix description fields: arrays to strings
- customManagers: managerFilePatterns to fileMatch (correct field name)

Signed-off-by: gursewak1997 <gursmangat@gmail.com>
@gursewak1997 gursewak1997 force-pushed the improve-renovate-validation branch from ccfd3ff to 61d730c Compare January 13, 2026 01:45
- name: Validate Renovate config
- name: Validate Renovate JSON configs with schema validator
run: |
npx --yes -p renovate renovate-config-validator renovate.json
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this potentially using a different version of renovate though than what lives in the container build?

I had been kind of hoping that we could properly use the container image in dry run mode reliably.

uses: renovatebot/github-action@v44.2.3
env:
RENOVATE_DRY_RUN: lookup
RENOVATE_DRY_RUN: full
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the key bug?

{
"customType": "regex",
"managerFilePatterns": ["(^|/)Containerfile$", "(^|/)Dockerfile$"],
"fileMatch": ["(^|/)Containerfile$", "(^|/)Dockerfile$"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure this isn't some kind of renovate-major-version drift between the validator vs the container image we use?

@cgwalters
Copy link
Contributor

I think bigger picture if we can research and follow standard practices with what other folks are doing with renovate and reference that it'd be good.

The biggest tweak we have going on here is using the self-hosted renovate via our bot token vs their hosted app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants