Skip to content

chore: stop Dependabot from proposing major bumps - #1137

Open
dkrizan wants to merge 1 commit into
mainfrom
dkrizan/stop-dependabot-major-noise
Open

dkrizan wants to merge 1 commit into
mainfrom
dkrizan/stop-dependabot-major-noise

Conversation

@dkrizan

@dkrizan dkrizan commented Sep 3, 2026

Copy link
Copy Markdown
Member

What changed

Two things in .github/dependabot.yml:

  • Ignore major bumps for everything.
  • Group the openapi-docs plugin and theme so they can only be bumped together.

Patch and minor updates keep coming as before.

Why

Every major bump Dependabot opened in this repo needed a migration it cannot do on its own:

  • Tailwind 4 moves the PostCSS plugin to a separate package and needs a config rewrite.
  • ESLint 10 needs the flat config format.
  • React 19 is not supported by Docusaurus 3.
  • Bumping @docusaurus/core alone leaves the other @docusaurus/* packages behind, so the build breaks.

They all failed CI, got closed, and came back the next month. There are 4 closed react-dom branches and 3 for eslint. Doing a major by hand, when there is a reason to, is the only way these land.

The grouping rule fixes a worse problem. The openapi-docs plugin and theme must share a version. Bumping only the plugin (#1103, #1122) breaks every API reference page in the browser, and neither the build nor the deploy preview catches it, because the failure is client side.

On security updates

An ignore rule also applies to Dependabot security update PRs, so a wildcard would normally be too blunt. It is fine here: Dependabot security updates and Dependabot alerts are both switched off for this repository, so there is nothing for the rule to suppress. If either is turned on later, this rule should become a list of package names instead.

@netlify

netlify Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploy Preview for tolgee-docs ready!

Name Link
🔨 Latest commit f5535da
🔍 Latest deploy log https://app.netlify.com/projects/tolgee-docs/deploys/6a997fae1bcbb800080a4ea0
😎 Deploy Preview https://deploy-preview-1137--tolgee-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dkrizan
dkrizan force-pushed the dkrizan/stop-dependabot-major-noise branch from ea1c5f7 to 46e5168 Compare September 3, 2026 13:49
@dkrizan dkrizan changed the title chore: stop Dependabot from proposing major bumps chore: stop Dependabot from proposing unmergeable major bumps Sep 3, 2026
@dkrizan
dkrizan force-pushed the dkrizan/stop-dependabot-major-noise branch from 46e5168 to 0529d1f Compare September 3, 2026 13:50
Every major bump Dependabot opened here needed a migration it cannot do:
Tailwind 4 moves the PostCSS plugin, ESLint 10 needs flat config, React 19
is not supported by Docusaurus 3, and bumping @docusaurus/core alone leaves
the other @Docusaurus packages behind. They failed CI, got closed, and came
back the next month.

Ignore conditions also suppress security update PRs, which would be a reason
to list packages instead of using a wildcard, but Dependabot security updates
and alerts are both disabled on this repository, so nothing is lost.

Also groups the openapi-docs plugin and theme so they can only be bumped
together. Bumping the plugin alone (#1103, #1122) breaks every API reference
page in the browser while the build and deploy preview stay green.
@dkrizan dkrizan changed the title chore: stop Dependabot from proposing unmergeable major bumps chore: stop Dependabot from proposing major bumps Sep 3, 2026
@dkrizan
dkrizan force-pushed the dkrizan/stop-dependabot-major-noise branch from 0529d1f to f5535da Compare September 3, 2026 14:09
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.

1 participant