From 8f0f836ab38b9f67d060bf5136b9c6db23f26cdb Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 21 Jul 2025 13:44:02 +0200 Subject: [PATCH] SCANNPM-92 Configure renovate --- .github/renovate.json | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000..f4878ba2 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,41 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>SonarSource/renovate-config:languages-team"], + "configMigration": true, + "schedule": ["before 6am every weekday"], + "enabledManagers": ["github-actions", "npm"], + "dockerfile": { + "enabled": true + }, + "ignorePaths": ["**/fixtures/**"], + "packageRules": [ + { + "matchManagers": ["github-actions"], + "pinDigests": false, + "groupName": "all github actions", + "groupSlug": "all-github-actions" + }, + { + "matchManagers": ["github-actions"], + "matchUpdateTypes": ["pin", "rollback"], + "enabled": false + }, + { + "matchDatasources": ["npm"], + "registryUrls": ["https://repox.jfrog.io/artifactory/api/npm/npm"] + }, + { + "matchUpdateTypes": ["minor", "patch"], + "matchCurrentVersion": "!/^0/" + } + ], + "hostRules": [ + { + "hostType": "npm", + "matchHost": "https://repox.jfrog.io/artifactory/api/npm/npm/", + "token": "{{ secrets.REPOX_TOKEN }}" + } + ], + "autoApprove": true, + "rebaseWhen": "never" +}