From ea4c105d7d0d836b32c8bda63c94586651adfdcb Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Thu, 7 Sep 2023 15:09:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=20renovate=20?= =?UTF-8?q?=E8=A7=84=E5=88=99=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/renovate-app-version.yml | 3 ++- .github/workflows/renovate.yml | 3 --- renovate.json | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/renovate-app-version.yml b/.github/workflows/renovate-app-version.yml index 027010282..3df62d50f 100644 --- a/.github/workflows/renovate-app-version.yml +++ b/.github/workflows/renovate-app-version.yml @@ -2,7 +2,8 @@ name: Update app version in Renovate Branches on: pull_request: - branches: [ 'renovate/*' ] + branches: + - 'renovate/*' workflow_dispatch: inputs: manual-trigger: diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 0e9f59091..3c3349c56 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -3,9 +3,6 @@ name: Renovate on: schedule: - cron: "0 0 * * *" - push: - branches: - - dev workflow_dispatch: inputs: manual-trigger: diff --git a/renovate.json b/renovate.json index 5910ed4ba..e34be91d7 100644 --- a/renovate.json +++ b/renovate.json @@ -8,6 +8,26 @@ { "packageNames": ["docker-compose"], "automerge": true + }, + { + "matchFileNames": ["apps/redis/7.*/*.yml"], + "allowedVersions": "/^7.*/" + }, + { + "matchFileNames": ["apps/redis/6.*/*.yml"], + "allowedVersions": "/^6.*/" + }, + { + "matchFileNames": ["apps/mysql/5.6.*/*.yml"], + "allowedVersions": "/^5.6.*/" + }, + { + "matchFileNames": ["apps/mysql/5.7.*/*.yml"], + "allowedVersions": "/^5.7.*/" + }, + { + "matchFileNames": ["apps/mysql/8.*/*.yml"], + "allowedVersions": "/^8.*/" } ], "prCreation": "immediate"