Repository navigation
chore: rework the Dependabot configuration - #951
Merged
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
.github/dependabot.ymlhad 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-configand 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
react-nativegroup:react-native,@react-native/*,@react-native-community/cli*,react,react-dom,react-test-renderer,react-native-test-app,react-native-web,expoand@expo/*have to move together, since Expo SDKs target one React Native version.flow-bin: minor/major bumps are ignored. React Native's bundled Flow libdefs (react-native/flow/) are written for the Flow version React Native itself uses (^0.331 for 0.88). Bumping flow-bin alone produced 50libdef-overrideerrors in chore(deps-dev): bump flow-bin from 0.331.0 to 0.340.0 #933. For 0.x versions, a minor bump is effectively a major one.dev-dependenciesgroup: minor/patch updates for everything else come as one PR. Majors still get their own PRs, so they can be reviewed individually.GitHub Actions
checkout@v2/setup-node@v1/cache@v3before ci: publish with release-it and npm trusted publishing #928, which was part of why CI stopped starting.Security updates:
applies-to, so they only cover version updates (per GitHub's docs, groups apply to security updates only withapplies-to: security-updates). Security PRs are still opened per dependency.ignoreentries 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
npm,github-actions), two npm groups and 11 ignore entries.dev-dependenciesexclusions and the ignore list (checked with a script, apart fromflow-bin, which is only excluded and ignored).dependabot.ymlwhen it's pushed. After merging, I'll check the repository's Dependabot status for configuration errors.🤖 Generated with Claude Code