chore: use renovate app, improve configuration (#871)

* chore: use renovate app instead

* chore: config renovate
This commit is contained in:
GU Yiling
2025-09-08 17:04:58 +08:00
committed by GitHub
parent 4f52c7d0da
commit bf23d6c7e9
2 changed files with 21 additions and 24 deletions

View File

@ -1,23 +0,0 @@
name: Renovate
on:
workflow_dispatch:
schedule:
- cron: "0 16 * * *"
permissions:
contents: read
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Self-hosted Renovate
uses: renovatebot/github-action@v43.0.10
with:
token: ${{ secrets.RENOVATE_TOKEN }}
env:
RENOVATE_REPOSITORIES: ${{ github.repository }}

View File

@ -1,4 +1,24 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"] "extends": ["config:recommended"],
"minimumReleaseAge": "7 days",
"internalChecksFilter": "strict",
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"groupName": "patches after 7 days",
"automerge": true
},
{
"matchUpdateTypes": ["minor"],
"excludePackageNames": ["vue", "echarts"],
"groupName": "minors after 7 days",
"automerge": false
},
{
"matchPackageNames": ["vue", "echarts"],
"matchUpdateTypes": ["minor"],
"automerge": false
}
]
} }