Skip to content

ci: add Dependabot config for maven, npm, and github-actions#151

Open
QuigProQuo wants to merge 1 commit into
nysenate:devfrom
QuigProQuo:add-dependabot-config
Open

ci: add Dependabot config for maven, npm, and github-actions#151
QuigProQuo wants to merge 1 commit into
nysenate:devfrom
QuigProQuo:add-dependabot-config

Conversation

@QuigProQuo

Copy link
Copy Markdown

What

Adds a .github/dependabot.yml configuration file to manage automated dependency updates.

Why

Dependabot is already active on this repo (12 open PRs), but there's no explicit config file. This means:

What This Configures

Ecosystem Directory Schedule Grouping PR Limit
Maven (pom.xml) / Weekly (Mon) Spring, Apache Commons, Elasticsearch, Jackson grouped 10
npm (package.json) /src/main/webapp Weekly (Mon) React ecosystem grouped 10
GitHub Actions / Monthly 5

Grouping Rationale

  • Spring Framework — core, web, webmvc, websocket, messaging, context-support, jdbc should update together to avoid version mismatches
  • Apache Commons — cli, csv, io, lang3, text, validator grouped for review convenience
  • Elasticsearch — client updates should be atomic
  • Jackson — core, databind, dataformat-xml, datatype-guava, datatype-jsr310 grouped
  • React — react + react-* packages grouped to avoid peer dependency conflicts

Compatibility

  • This config coexists with existing Dependabot PRs — it only affects future update behavior
  • Grouping will reduce the number of PRs by combining related dependency bumps
  • The weekly Monday schedule creates a predictable review cadence
  • The PR limit of 10 prevents overwhelming maintainers

Notes

This PR is complementary to #150 (CI workflow). Together they provide:

  1. Automated testing on every PR (ci: add GitHub Actions workflow for build and unit tests #150)
  2. Automated dependency updates with security alerts (this PR)

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