add renovatebot

This commit is contained in:
2025-12-28 06:26:04 +05:30
parent ec63e1e636
commit 141e9b9e7a
3 changed files with 58 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:42.64.1
steps:
- name: Checkout repository
uses: actions/checkout@v6
- 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/ipv6-k3s"],
}

21
renovate.json Normal file
View File

@@ -0,0 +1,21 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"prHourlyLimit": 0,
"ignorePaths": [
"**/disabled/**",
"**/.gitea/workflows/**"
],
"flux": {
"managerFilePatterns": [
"/\\.yml$/"
]
},
"kubernetes": {
"managerFilePatterns": [
"/\\.yml$/"
]
}
}