Skip to content

Configure Renovate for automated dependency management#33

Merged
RonaldRonnie merged 3 commits intomainfrom
chore/configure-renovate
Dec 20, 2025
Merged

Configure Renovate for automated dependency management#33
RonaldRonnie merged 3 commits intomainfrom
chore/configure-renovate

Conversation

@RonaldRonnie
Copy link
Collaborator

  • Add comprehensive Renovate configuration with best practices
  • Configure security update prioritization (immediate, highest priority)
  • Set up dependency grouping (Python, ML/AI, web framework, etc.)
  • Implement auto-merge for safe patch/minor updates
  • Add stability protection (3-14 days based on dependency type)
  • Special handling for PyTorch CPU versions
  • Configure dependency dashboard for visibility
  • Add Dependabot as backup security scanner
  • Create dependency review GitHub Actions workflow
  • Add comprehensive documentation

Features:

  • Security updates: Immediate, never auto-merged
  • ML/AI dependencies: 7-day stability, manual review required
  • Patch updates: Auto-merge after 1 day (safe packages)
  • Minor updates: Auto-merge after 2 days (safe packages)
  • Major updates: 14-day stability, manual review required
  • Weekly schedule: Monday mornings before 10am UTC
  • Dependency grouping: Easier review and management
  • License validation: Blocks GPL-2.0, GPL-3.0
  • Vulnerability alerts: Enabled with high priority

This configuration protects the repository by:

  • Prioritizing security updates
  • Preventing breaking changes
  • Grouping related updates
  • Providing visibility via dashboard
  • Automating safe updates
  • Requiring review for critical changes

- Add comprehensive Renovate configuration with best practices
- Configure security update prioritization (immediate, highest priority)
- Set up dependency grouping (Python, ML/AI, web framework, etc.)
- Implement auto-merge for safe patch/minor updates
- Add stability protection (3-14 days based on dependency type)
- Special handling for PyTorch CPU versions
- Configure dependency dashboard for visibility
- Add Dependabot as backup security scanner
- Create dependency review GitHub Actions workflow
- Add comprehensive documentation

Features:
- Security updates: Immediate, never auto-merged
- ML/AI dependencies: 7-day stability, manual review required
- Patch updates: Auto-merge after 1 day (safe packages)
- Minor updates: Auto-merge after 2 days (safe packages)
- Major updates: 14-day stability, manual review required
- Weekly schedule: Monday mornings before 10am UTC
- Dependency grouping: Easier review and management
- License validation: Blocks GPL-2.0, GPL-3.0
- Vulnerability alerts: Enabled with high priority

This configuration protects the repository by:
- Prioritizing security updates
- Preventing breaking changes
- Grouping related updates
- Providing visibility via dashboard
- Automating safe updates
- Requiring review for critical changes
- Make dependency-review workflow non-blocking (continue-on-error)
- Add helpful error message with setup instructions
- Create alternative dependency-check workflow (no Advanced Security required)
- Update documentation with setup instructions
- Add troubleshooting section for dependency review errors

The dependency-review workflow now gracefully handles cases where:
- Dependency graph is not enabled
- GitHub Advanced Security is not enabled (private repos)

The alternative dependency-check workflow provides basic validation
without requiring Advanced Security, making it work for all repositories.
- Fix IndentationError in requirements.txt validation step
- Use proper Python -c syntax with correct indentation
- Test validation script locally to ensure it works
@RonaldRonnie RonaldRonnie merged commit 6ea075c into main Dec 20, 2025
2 checks passed
@RonaldRonnie RonaldRonnie deleted the chore/configure-renovate branch December 20, 2025 12:18
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