add-prometheus #2
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: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
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/ipv6-k3s"],
|
||||
}
|
||||
21
renovate.json
Normal file
21
renovate.json
Normal 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$/"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user