feat: 修改 renovate 规则配置

This commit is contained in:
zhengkunwang223 2023-09-07 15:09:43 +08:00
parent b533677555
commit ea4c105d7d
3 changed files with 22 additions and 4 deletions

View File

@ -2,7 +2,8 @@ name: Update app version in Renovate Branches
on: on:
pull_request: pull_request:
branches: [ 'renovate/*' ] branches:
- 'renovate/*'
workflow_dispatch: workflow_dispatch:
inputs: inputs:
manual-trigger: manual-trigger:

View File

@ -3,9 +3,6 @@ name: Renovate
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
push:
branches:
- dev
workflow_dispatch: workflow_dispatch:
inputs: inputs:
manual-trigger: manual-trigger:

View File

@ -8,6 +8,26 @@
{ {
"packageNames": ["docker-compose"], "packageNames": ["docker-compose"],
"automerge": true "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" "prCreation": "immediate"