From dbc6a705c50d46f4b0a78fff29a4f20719446179 Mon Sep 17 00:00:00 2001 From: DrMxrcy <58747968+DrMxrcy@users.noreply.github.com> Date: Tue, 2 May 2023 20:42:50 -0400 Subject: [PATCH] Update Renovate.js (#447) * Update Renovate.js * Delete renovate.json --- renovate.js | 43 ++++++++++++++++++++----------------------- renovate.json | 30 ------------------------------ 2 files changed, 20 insertions(+), 53 deletions(-) delete mode 100644 renovate.json diff --git a/renovate.js b/renovate.js index 9d21199e..ec15a3f2 100644 --- a/renovate.js +++ b/renovate.js @@ -1,30 +1,27 @@ module.exports = { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" - ], - "gitIgnoredAuthors": [ - "githubaction@githubaction.com" - ], - "dependencyDashboard": true, - "enabledManagers": ["docker-compose", "dockerfile"], - "hostRules": [ + extends: ["config:base"], + gitIgnoredAuthors: ["githubaction@githubaction.com"], + dependencyDashboard: true, + enabledManagers: ["docker-compose", "dockerfile"], + hostRules: [ { - "matchHost": "index.docker.io", - "hostType": "docker", - "username": process.env.DOCKERHUB_USERNAME, - "password": process.env.DOCKERHUB_TOKEN + matchHost: "index.docker.io", + hostType: "docker", + username: process.env.DOCKERHUB_USERNAME, + password: process.env.DOCKERHUB_TOKEN, }, { - "matchHost": "docker.io", - "concurrentRequestLimit": 2 - } + matchHost: "docker.io", + concurrentRequestLimit: 2, + }, ], - "packageRules": [ + packageRules: [ { - "managers": ["docker-compose", "dockerfile"], - "packagePatterns": ["^([^\\/]+\\/)?(mysql|mariadb|mongodb|mongo|postgres|redis)(:|$)"], - "enabled": false - } - ] + managers: ["docker-compose", "dockerfile"], + packagePatterns: [ + "^([^\\/]+\\/)?(mysql|mariadb|mongodb|mongo|postgres|redis)(:|$)", + ], + enabled: false, + }, + ], }; diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 67564772..00000000 --- a/renovate.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" - ], - "gitIgnoredAuthors": [ - "githubaction@githubaction.com" - ], - "dependencyDashboard": true, - "enabledManagers": ["docker-compose", "dockerfile"], - "hostRules": [ - { - "matchHost": "index.docker.io", - "hostType": "docker", - "username": "{{ env.DOCKERHUB_USERNAME }}", - "password": "{{ env.DOCKERHUB_TOKEN }}" - }, - { - "matchHost": "docker.io", - "concurrentRequestLimit": 2 - } - ], - "packageRules": [ - { - "managers": ["docker-compose", "dockerfile"], - "packagePatterns": ["^([^\\/]+\\/)?(mysql|mariadb|mongodb|mongo|postgres|redis)(:|$)"], - "enabled": false - } - ] -}