From 936fa9a95fa0d9d50acc780cef067b1cee98e6bc Mon Sep 17 00:00:00 2001 From: "HOME-WIN\\LIN" Date: Fri, 30 Jan 2026 14:52:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=9B=B4=E6=96=B0renovate-bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/renovate-app-version.yml | 2 +- .github/workflows/renovate.yml | 4 +- renovate.json | 244 +++++++++++++++++---- 3 files changed, 205 insertions(+), 45 deletions(-) diff --git a/.github/workflows/renovate-app-version.yml b/.github/workflows/renovate-app-version.yml index 6d2cc9b8..6a958455 100644 --- a/.github/workflows/renovate-app-version.yml +++ b/.github/workflows/renovate-app-version.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 with: fetch-depth: 0 diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 1d9852ad..87e46ea4 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -17,9 +17,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Run Renovate - uses: renovatebot/github-action@v41.0.6 + uses: renovatebot/github-action@eaf12548c13069dcc28bb75c4ee4610cdbe400c5 # v44.2.6 with: useSlim: false token: ${{ secrets.GITHUBTOKEN }} diff --git a/renovate.json b/renovate.json index cb90b986..b7ddb2f5 100644 --- a/renovate.json +++ b/renovate.json @@ -1,66 +1,226 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ], + "extends": ["config:base"], "gitIgnoredAuthors": [ "githubaction@githubaction.com" ], "rebaseWhen": "never", + "ignorePaths": [ + "apps/mysql-cluster/**", + "apps/redis-cluster/**", + "apps/postgresql-cluster/**" + ], "packageRules": [ { - "matchPackageNames": [ - "docker-compose" - ], + "packageNames": ["docker-compose"], "automerge": true }, { "matchFileNames": [ - "apps/mysql/5.5.*/*.yml" - ], - "allowedVersions": "/^5.5.*/" - }, - { - "matchFileNames": [ - "apps/mysql/5.6.*/*.yml" - ], - "allowedVersions": "/^5.6.*/" - }, - { - "matchFileNames": [ - "apps/mysql/5.7.*/*.yml" - ], - "allowedVersions": "/^5.7.*/" - }, - { - "matchFileNames": [ - "apps/mysql/8.0.*/*.yml" - ], - "allowedVersions": "/^8.0.*/" - }, - { - "matchFileNames": [ - "apps/mysql/8.4.*/*.yml" - ], - "allowedVersions": "/^8.4.*/" - }, - { - "matchFileNames": [ - "apps/php-unofficial/7.4.*/*.yml" - ], + "apps/php-unofficial/7.4.*/*.yml"], "allowedVersions": "/^7.4.*/" }, { "matchFileNames": [ - "apps/php-unofficial/8.1.*/*.yml" - ], + "apps/php-unofficial/8.1.*/*.yml"], "allowedVersions": "/^8.1.*/" }, { "matchFileNames": [ - "apps/reader/2.7.*/*.yml" - ], + "apps/reader/2.7.*/*.yml"], "allowedVersions": "/^2.7.*/" + }, + { + "matchFileNames": ["apps/mysql/5.6.*/*.yml"], + "allowedVersions": "/^5.6.*/" + }, + { + "matchFileNames": ["apps/mysql/5.7.*/*.yml"], + "allowedVersions": "/^5.7.*/" + }, + { + "matchFileNames": ["apps/mysql/8.0.*/*.yml"], + "allowedVersions": "/^8.0.*/" + }, + { + "matchFileNames": ["apps/mysql/8.4.*/*.yml"], + "allowedVersions": "/^8.4.*/" + }, + { + "matchFileNames": ["apps/redis/6.*/*.yml"], + "allowedVersions": "/^6.*/" + }, + { + "matchFileNames": ["apps/redis/7.*/*.yml"], + "allowedVersions": "/^7.*/" + }, + { + "matchFileNames": ["apps/redis/8.*/*.yml"], + "allowedVersions": "/^8.*/" + }, + { + "matchFileNames": ["apps/mariadb/10.6.*/*.yml"], + "allowedVersions": "/^10.6.*/" + }, + { + "matchFileNames": ["apps/mariadb/10.11.*/*.yml"], + "allowedVersions": "/^10.11.*/" + }, + { + "matchFileNames": ["apps/mariadb/11.4.*/*.yml"], + "allowedVersions": "/^11.4.*/" + }, + { + "matchFileNames": ["apps/mariadb/11.8.*/*.yml"], + "allowedVersions": "/^11.8.*/" + }, + { + "matchFileNames": ["apps/postgresql/12.*/*.yml"], + "allowedVersions": "/^12.*/" + }, + { + "matchFileNames": ["apps/postgresql/13.*/*.yml"], + "allowedVersions": "/^13.*/" + }, + { + "matchFileNames": ["apps/postgresql/14.*/*.yml"], + "allowedVersions": "/^14.*/" + }, + { + "matchFileNames": ["apps/postgresql/15.*/*.yml"], + "allowedVersions": "/^15.*/" + }, + { + "matchFileNames": ["apps/postgresql/16.*/*.yml"], + "allowedVersions": "/^16.*/" + }, + { + "matchFileNames": ["apps/postgresql/17.*/*.yml"], + "allowedVersions": "/^17.*/" + }, + { + "matchFileNames": ["apps/postgresql/18.*/*.yml"], + "allowedVersions": "/^18.*/" + }, + { + "matchFileNames": ["apps/maxkb/1.*/*.yml"], + "allowedVersions": "/^1.*/" + }, + { + "matchFileNames": ["apps/maxkb/2.*/*.yml"], + "allowedVersions": "/^2.*/" + }, + { + "matchFileNames": ["apps/elasticsearch/7.*/*.yml"], + "allowedVersions": "/^7.*/" + }, + { + "matchFileNames": ["apps/elasticsearch/8.*/*.yml"], + "allowedVersions": "/^8.*/" + }, + { + "matchFileNames": ["apps/tomcat/8.*/*.yml"], + "allowedVersions": "/^8.*/" + }, + { + "matchFileNames": ["apps/tomcat/9.*/*.yml"], + "allowedVersions": "/^9.*/" + }, + { + "matchFileNames": ["apps/tomcat/10.*/*.yml"], + "allowedVersions": "/^10.*/" + }, + { + "matchFileNames": ["apps/mongodb/6.*/*.yml"], + "allowedVersions": "/^6.*/" + }, + { + "matchFileNames": ["apps/mongodb/7.*/*.yml"], + "allowedVersions": "/^7.*/" + }, + { + "matchFileNames": ["apps/mongodb/8.*/*.yml"], + "allowedVersions": "/^8.*/" + }, + { + "matchFileNames": ["apps/sonarqube/9.*/*.yml"], + "allowedVersions": "/^9.*/" + }, + { + "matchFileNames": ["apps/sonarqube/10.*/*.yml"], + "allowedVersions": "/^10.*/" + }, + { + "matchFileNames": ["apps/mssql/2017-*/*.yml"], + "allowedVersions": "/^2017-*/" + }, + { + "matchFileNames": ["apps/mssql/2019-*/*.yml"], + "allowedVersions": "/^2019-*/" + }, + { + "matchFileNames": ["apps/mssql/2022-*/*.yml"], + "allowedVersions": "/^2022-*/" + }, + { + "matchFileNames": ["apps/mssql/2025-*/*.yml"], + "allowedVersions": "/^2025-*/" + }, + { + "matchFileNames": ["apps/zitadel/2.*/*.yml"], + "allowedVersions": "/^2.*/" + }, + { + "matchFileNames": ["apps/zitadel/3.*/*.yml"], + "allowedVersions": "/^3.*/" + }, + { + "matchFileNames": ["apps/odoo/18.*/*.yml"], + "allowedVersions": "/^18.*/" + }, + { + "matchFileNames": ["apps/odoo/19.*/*.yml"], + "allowedVersions": "/^19.*/" + }, + { + "matchFileNames": ["apps/onedev/12.*/*.yml"], + "allowedVersions": "/^12.*/" + }, + { + "matchFileNames": ["apps/onedev/13.*/*.yml"], + "allowedVersions": "/^13.*/" + }, + { + "matchFileNames": ["apps/uptime-kuma/1.*/*.yml"], + "allowedVersions": "/^1.*/" + }, + { + "matchFileNames": ["apps/uptime-kuma/2.*/*.yml"], + "allowedVersions": "/^2.*/" + }, + { + "matchFileNames": ["apps/umami/2.*/*.yml"], + "allowedVersions": "/^2.*/" + }, + { + "matchFileNames": ["apps/umami/3.*/*.yml"], + "allowedVersions": "/^3.*/" + }, + { + "matchFileNames": ["apps/n8n/2.2.*/*.yml"], + "allowedVersions": "/^2.2.*/" + }, + { + "matchFileNames": ["apps/n8n/2.3.*/*.yml"], + "allowedVersions": "/^2.3.*/" + }, + { + "matchFileNames": ["apps/n8n/2.4.*/*.yml"], + "allowedVersions": "/^2.4.*/" + }, + { + "matchFileNames": ["apps/n8n/2.5.*/*.yml"], + "allowedVersions": "/^2.5.*/" } ], "prCreation": "immediate"