From 3721589ee19efc22cfb04a00df8e65b049efa3ff Mon Sep 17 00:00:00 2001 From: DrMxrcy <58747968+DrMxrcy@users.noreply.github.com> Date: Tue, 2 May 2023 21:03:11 -0400 Subject: [PATCH] Create renovate.json (#451) * Create renovate.json * Update renovate.yml --- .github/workflows/renovate.yml | 1 - renovate.json | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 renovate.json diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 90e18fea..b3200098 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -28,7 +28,6 @@ jobs: uses: renovatebot/github-action@v32.118.0 with: token: ${{ secrets.RENOVATE_TOKEN }} - configurationFile: renovate.js env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..67564772 --- /dev/null +++ b/renovate.json @@ -0,0 +1,30 @@ +{ + "$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 + } + ] +}