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 - } - ] -}