Skip to content

feat: implement automated dependency updates via Dependabot (#263)#333

Open
Topmatrixmor2014 wants to merge 1 commit into
BETAIL-BOYS:mainfrom
Topmatrixmor2014:feat/dependabot-automated-dependency-updates
Open

feat: implement automated dependency updates via Dependabot (#263)#333
Topmatrixmor2014 wants to merge 1 commit into
BETAIL-BOYS:mainfrom
Topmatrixmor2014:feat/dependabot-automated-dependency-updates

Conversation

@Topmatrixmor2014

Copy link
Copy Markdown

Summary

Resolves #263 — Implement automated dependency updates via Dependabot.

Manually tracking version updates for Next.js, Stellar SDK, and React is tedious and error-prone. This PR introduces Dependabot to automatically draft PRs when new non-breaking versions are released, and upgrades the CI pipeline so developers can confidently merge those PRs.


Changes

.github/dependabot.yml (new)

  • Configures Dependabot for the npm ecosystem targeting the root / directory (where package.json lives)
  • Runs weekly on Mondays at 09:00 UTC
  • Groups all minor/patch production and dev dependency updates into two PRs, avoiding board spam
  • Caps open Dependabot PRs at 5
  • Adds dependencies and automated labels for easy filtering
  • Targets the main branch

.github/workflows/ci.yml (updated)

  • Triggers on push and pull_request to main — automatically covers all Dependabot PRs
  • Adds Node.js 20 setup with npm cache across all jobs for consistent, fast installs (npm ci)
  • Lint job: runs npm run lint (ESLint)
  • Test job: runs npm test -- --ci --passWithNoTests
  • Build job: runs npm run build, gated behind lint and test passing (fail-fast)
  • Upgrades actions/checkout to v4

Acceptance Criteria ✅

Requirement Status
dependabot.yml configured
Weekly schedule on npm ecosystem
Updates grouped to reduce PR noise
CI runs Lint, Test, Build on bot PRs
Root directory correctly mapped

Testing

The CI workflow will trigger automatically on this PR and run all three jobs (Lint → Test → Build). Dependabot will begin opening grouped PRs on the next scheduled Monday run.

…OYS#263)

- Add .github/dependabot.yml with weekly npm ecosystem updates
- Group minor/patch updates for production and dev dependencies
- Limit open PRs to 5 to avoid spamming the PR board
- Update .github/workflows/ci.yml with full Lint, Test, Build pipeline
- Use actions/setup-node@v4 with npm caching for faster runs
- Build job depends on lint and test passing (fail-fast)
- Pipeline triggers on push/PR to main, covering all Dependabot PRs

Closes BETAIL-BOYS#263
@AlAfiz

AlAfiz commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

@Topmatrixmor2014 workflow failed, Checks must be passed successfully

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.

Implement automated dependency updates using Dependabot or Renovate

2 participants