Skip to content

Commit d5e6d70

Browse files
authored
Merge pull request #198 from GizzZmo/chore/dependabot-groups-noise-reduction
chore(deps): group Dependabot updates to reduce PR noise
2 parents e47119e + d5b041c commit d5e6d70

2 files changed

Lines changed: 55 additions & 64 deletions

File tree

.github/WORKFLOWS.md

Lines changed: 15 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ All workflows have been enhanced with:
189189

190190
**Schedule:** Weekly on Monday at 09:00 UTC
191191

192-
**Purpose:** Automated dependency updates
192+
**Purpose:** Automated dependency updates with grouped PRs to reduce noise
193193

194194
**Ecosystems:**
195195

@@ -202,6 +202,14 @@ All workflows have been enhanced with:
202202
- Weekly schedule to minimize noise
203203
- Labels: `dependencies`, `automated`
204204
- Auto-reviewers assigned
205+
- **Grouped updates** (noise reduction):
206+
- `production-dependencies` — minor/patch production deps
207+
- `development-dependencies` — minor/patch dev deps
208+
- `eslint-stack` — eslint, @eslint/*, @typescript-eslint/*
209+
- `vitest-stack` — vitest, @vitest/*
210+
- `testing-library`@testing-library/*
211+
- `github-actions` — all Actions minor/patch bumps
212+
- Major updates still open as individual PRs for review
205213

206214
---
207215

@@ -431,7 +439,7 @@ File: `.github/labeler.yml`
431439

432440
**Automatic Labels:**
433441

434-
- `documentation`: Changes to docs/\*_ or _.md files
442+
- `documentation`: Changes to docs/\*_ or \*.md files
435443
- `frontend`: Changes to components/, widgets/, \*.tsx files
436444
- `backend`: Changes to server/ or C++ files
437445
- `services`: Changes to services/
@@ -445,71 +453,14 @@ File: `.github/labeler.yml`
445453
- `size/S`: 10-49 lines changed
446454
- `size/M`: 50-199 lines changed
447455
- `size/L`: 200-499 lines changed
448-
- `size/XL`: 500+ lines changed
456+
- `size/XL`: 500 lines changed
449457

450458
---
451459

452-
## 🛠️ Development Commands
460+
## 🔄 Maintenance Schedule
453461

454-
### New Scripts Added
455-
456-
```bash
457-
# Testing
458-
npm test # Run tests in watch mode
459-
npm run test:run # Run tests once
460-
npm run test:ui # Run tests with UI
461-
npm run test:coverage # Run tests with coverage report
462-
463-
# Linting & Formatting
464-
npm run lint # Run ESLint
465-
npm run lint:fix # Fix ESLint issues
466-
npm run format # Format all files with Prettier
467-
npm run format:check # Check formatting without changing files
468-
469-
# Type Checking
470-
npm run typecheck # Run TypeScript type checking
471-
472-
# Building
473-
npm run build # Build frontend
474-
npm run build:server # Build C++ server
475-
npm run build:all # Build both frontend and server
476-
npm run assets:generate # Generate screenshot asset manifest locally
477-
npm run artifacts:generate # Generate build artifact manifest locally (requires prior `npm run build`)
478-
```
479-
480-
---
481-
482-
## 🎯 Best Practices
483-
484-
### For Contributors
485-
486-
1. ✅ Run `npm run lint` and `npm run format:check` before committing
487-
2. ✅ Run `npm run test:run` to ensure all tests pass
488-
3. ✅ Keep PRs focused and reasonably sized (< 500 lines when possible)
489-
4. ✅ Update documentation for new features
490-
5. ✅ Add tests for bug fixes and new features
491-
6. ✅ Follow the PR template guidelines
492-
7. ✅ Ensure all CI checks pass before requesting review
493-
494-
### For Maintainers
495-
496-
1. ✅ Review security alerts from CodeQL and Dependabot promptly
497-
2. ✅ Monitor workflow performance reports
498-
3. ✅ Keep dependencies up to date
499-
4. ✅ Review and merge Dependabot PRs regularly
500-
5. ✅ Use workflow badges in README to communicate project health
501-
6. ✅ Check test coverage trends
502-
503-
---
504-
505-
## 🔧 Maintenance
506-
507-
### Regular Tasks
508-
509-
- **Daily**: Automated dependency audits and stale issue checks
510-
- **Weekly**:
511-
- Review Dependabot PRs
512-
- Check CodeQL security scan results
462+
- **Daily**: Stale bot, dependency audit (scheduled)
463+
- **Weekly**: Dependabot version updates (Monday 09:00 UTC), CodeQL
513464
- **Monthly**: Review stale issues and PRs manually
514465
- **Quarterly**:
515466
- Review and update workflow configurations
@@ -538,5 +489,5 @@ npm run artifacts:generate # Generate build artifact manifest locally (requires
538489

539490
---
540491

541-
_Last Updated: 2026-08-15_
492+
_Last Updated: 2026-08-20_
542493
_For questions or issues with workflows, please open an issue with the `ci-cd` label._

.github/dependabot.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,39 @@ updates:
1616
commit-message:
1717
prefix: 'chore(deps):'
1818
include: 'scope'
19+
# Group updates to reduce PR noise
20+
groups:
21+
production-dependencies:
22+
dependency-type: 'production'
23+
update-types:
24+
- 'minor'
25+
- 'patch'
26+
development-dependencies:
27+
dependency-type: 'development'
28+
update-types:
29+
- 'minor'
30+
- 'patch'
31+
eslint-stack:
32+
patterns:
33+
- 'eslint*'
34+
- '@eslint/*'
35+
- '@typescript-eslint/*'
36+
update-types:
37+
- 'minor'
38+
- 'patch'
39+
vitest-stack:
40+
patterns:
41+
- 'vitest*'
42+
- '@vitest/*'
43+
update-types:
44+
- 'minor'
45+
- 'patch'
46+
testing-library:
47+
patterns:
48+
- '@testing-library/*'
49+
update-types:
50+
- 'minor'
51+
- 'patch'
1952

2053
# Enable version updates for GitHub Actions
2154
- package-ecosystem: 'github-actions'
@@ -34,3 +67,10 @@ updates:
3467
commit-message:
3568
prefix: 'chore(actions):'
3669
include: 'scope'
70+
groups:
71+
github-actions:
72+
patterns:
73+
- '*'
74+
update-types:
75+
- 'minor'
76+
- 'patch'

0 commit comments

Comments
 (0)