Configure Renovate for automated dependency management#33
Merged
RonaldRonnie merged 3 commits intomainfrom Dec 20, 2025
Merged
Conversation
- 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
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.
Features:
This configuration protects the repository by: