Skip to content

Commit

Permalink
Configure Renovate (#1052)
Browse files Browse the repository at this point in the history
Konfigurujemy bota (Renovate) do podbijania zależności.
- Automatycznie merguje zmiany patch i minor dla wszystkiego oprócz Django
- Automatycznie merguje zmiany patch dla Django
- Tworzy pull-request ze zmianami major oraz takimi dla których nie przechodzą testy
- Tworzy issue z podsumowaniem stanu wszystkich zależności
  • Loading branch information
renovate[bot] authored Aug 13, 2021
1 parent b41eb1a commit ff443eb
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"extends": ["config:base"],
"automergeType": "pr",
"dependencyDashboard": true,
"prCreation": "not-pending",
"prHourlyLimit": 0,
"prConcurrentLimit": 50,
"stabilityDays": 7,
"labels": ["dependencies"],
"pip_requirements": {
"fileMatch": ["^zapisy/requirements\\.([\\w]*)\\.txt$"]
},
"vulnerabilityAlerts": {
"enabled": true,
"addLabels": ["security"]
},
"packageRules": [
{
"description": "Require dashboard approval for major updates",
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true
},
{
"description": "Automerge patches",
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"description": "Automerge some minor updates",
"matchUpdateTypes": ["minor", "patch"],
"excludePackagePatterns": ["^Django$"],
"matchCurrentVersion": "!/^0\\./",
"automerge": true
},
{
"description": "Label JS deps",
"matchLanguages": ["js"],
"addLabels": ["javascript"]
},
{
"description": "Label Python deps",
"matchLanguages": ["python"],
"addLabels": ["python"]
}
]
}

0 comments on commit ff443eb

Please sign in to comment.