Skip to content

chore: rework the Dependabot configuration - #951

Merged
Naturalclar merged 1 commit into
masterfrom
chore/dependabot-config
Nov 23, 2026
Merged

Naturalclar merged 1 commit into
masterfrom
chore/dependabot-config

Conversation

@Naturalclar

@Naturalclar Naturalclar commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Overview

.github/dependabot.yml had accumulated ignore entries from around 2021, for packages that are no longer used: expo 39/40, semantic-release, @types/react-native, metro-react-native-babel-preset, @expo/webpack-config and others. It also had nothing to stop Dependabot opening PRs that can't work on their own, like #933 (flow-bin 0.331 → 0.340), or React Native packages bumped out of step with each other.

Changes

npm

GitHub Actions

Security updates:

  • Groups: these groups don't set applies-to, so they only cover version updates (per GitHub's docs, groups apply to security updates only with applies-to: security-updates). Security PRs are still opened per dependency.
  • Ignore rules: I couldn't confirm from the docs whether the ignore entries for the React Native packages and flow-bin also hold back security updates for those packages. Dependabot alerts are raised either way, so a vulnerability in them would still show up in the Security tab.

Test Plan

  • The YAML parses. It has two ecosystems (npm, github-actions), two npm groups and 11 ignore entries.
  • The React Native package list is identical in the group patterns, the dev-dependencies exclusions and the ignore list (checked with a script, apart from flow-bin, which is only excluded and ignored).
  • GitHub validates dependabot.yml when it's pushed. After merging, I'll check the repository's Dependabot status for configuration errors.

🤖 Generated with Claude Code

- Drop the 2021-era ignore entries for packages that are no longer used
  (expo 39/40, semantic-release, @types/react-native,
  metro-react-native-babel-preset, @expo/webpack-config, ...)
- React Native ecosystem packages (react-native, @react-native/*, the
  community CLI, react, react-dom, react-test-renderer,
  react-native-test-app, react-native-web, expo, @expo/*) move together:
  patch releases come as one grouped PR, minor/major upgrades are done by
  hand
- flow-bin follows React Native, whose bundled Flow libdefs target the
  Flow version React Native uses (see #933); ignore its minor/major bumps
- Batch the remaining dev dependencies' minor/patch updates into one PR
- Keep GitHub Actions up to date (weekly, grouped)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Naturalclar
Naturalclar merged commit 3a32313 into master Nov 23, 2026
6 checks passed
@Naturalclar
Naturalclar deleted the chore/dependabot-config branch November 23, 2026 03:04
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