Add Renovate configuration and workflow for automated dependency updates

This commit is contained in:
2025-10-15 14:59:13 +05:30
parent 58bfd0f593
commit 2d80756717
2 changed files with 37 additions and 0 deletions

View 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
View 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"],
}