From ff443ebf03491bbfd046a81afefc309567a42992 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Aug 2021 15:58:10 +0200 Subject: [PATCH] Configure Renovate (#1052) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/renovate.json | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000000..a77675aa84 --- /dev/null +++ b/.github/renovate.json @@ -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"] + } + ] +}