Skip to content

Conversation

serhalp
Copy link
Member

@serhalp serhalp commented Aug 4, 2025

Replace massive, complicated generated Renovate config and script that generates it with a simple config that:

  • ignores fixtures, examples, starters, tests, and deprecated packages
  • ignores dev deps
  • runs daily
  • prioritizes security fixes

Hopefully this will make Renovate PRs less noisy and consistently actionable.

npx --package renovate renovate-config-validator

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 4, 2025
const packageRules = new Map()

const globalPackageRules = [
// bundle well known monorepos
Copy link
Member Author

Choose a reason for hiding this comment

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

renovate does all this out of the box now... I assume this predates that

Comment on lines -168 to -170
// there is no excludeMatchSourceUrlPrefixes option so we force babel to be disabled
const globalExcludePackages = []
const globalExcludePackagePatterns = [`^@babel`]
Copy link
Member Author

Choose a reason for hiding this comment

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

🤷🏼 it doesn't say why. yolo.

Comment on lines -352 to -354
`:separateMajorReleases`,
`:combinePatchMinorReleases`,
`:ignoreUnstable`,
Copy link
Member Author

Choose a reason for hiding this comment

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

these are in the recommended config

dependencyDashboardApproval: true,
},
dependencyDashboard: true,
ignoreDeps: [`react`, `react-dom`, `uuid`, `gatsby-interface`],
Copy link
Member Author

Choose a reason for hiding this comment

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

? unclear why. dropping.

@serhalp serhalp marked this pull request as ready for review August 11, 2025 16:50
pieh
pieh previously approved these changes Aug 12, 2025
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

I think we just need to try it and see how it behaves. If something is very wrong we can revert (or adjust) and at least learn "why" this setup is/was so convoluted. AFAIK there is no auto-merge for renovate PRs, so things still need to be checked by someone at least for now before being merged which gives a chance to verify things are ok

pieh
pieh previously approved these changes Aug 12, 2025
@serhalp serhalp enabled auto-merge (squash) August 12, 2025 20:45
@serhalp serhalp requested a review from pieh August 12, 2025 20:45
@serhalp serhalp merged commit f732190 into master Aug 13, 2025
38 checks passed
@serhalp serhalp deleted the codex/replace-renovate-config-with-simplified-version branch August 13, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codex status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants