Add Renovate configuration and workflow for automated dependency updates
This commit is contained in:
23
.gitea/workflows/renovate.yml
Normal file
23
.gitea/workflows/renovate.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: renovate
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "@daily"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: renovate/renovate:41.97.7
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run Renovate
|
||||||
|
env:
|
||||||
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
GITHUB_COM_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||||
|
run: |
|
||||||
|
renovate
|
||||||
14
config.js
Normal file
14
config.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
module.exports = {
|
||||||
|
platform: 'gitea',
|
||||||
|
endpoint: 'https://gitea.akshun-lab.cc/api/v1',
|
||||||
|
gitAuthor: 'Renovate Bot <renovate@akshun-lab.cc>',
|
||||||
|
username: 'renovate',
|
||||||
|
autodiscover: false,
|
||||||
|
onboardingConfig: {
|
||||||
|
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
||||||
|
extends: ['config:recommended']
|
||||||
|
},
|
||||||
|
optimizeForDisabled: true,
|
||||||
|
persistRepoData: true,
|
||||||
|
repositories: ["aggarwalakshun/k3s"],
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user