chore: add renovate (#860)

* chore: add renovate

* chore: add permissions
This commit is contained in:
GU Yiling
2025-09-07 23:27:00 +08:00
committed by GitHub
parent 47368d4833
commit bf04b30dfa
2 changed files with 23 additions and 0 deletions

19
.github/workflows/renovate.yml vendored Normal file
View File

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

4
renovate.json Normal file
View File

@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"]
}