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:
pull_request:
branches: [ 'renovate/*' ]
branches:
- 'renovate/*'
workflow_dispatch:
inputs:
manual-trigger:

View File

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

View File

@ -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"