This commit is contained in:
23
.gitea/workflows/renovate.yaml
Normal file
23
.gitea/workflows/renovate.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: renovate
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
schedule:
|
||||||
|
- cron: "0 12 * * *"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/renovatebot/renovate:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: renovate
|
||||||
|
env:
|
||||||
|
RENOVATE_CONFIG_FILE: ${{ gitea.workspace }}/config.js
|
||||||
|
LOG_LEVEL: debug
|
||||||
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
13
config.js
Normal file
13
config.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
platform: "gitea",
|
||||||
|
endpoint: "https://git.valverde.cloud/api/v1/",
|
||||||
|
gitAuthor: "Renovate Bot <renovate-bot@valverde.cloud>",
|
||||||
|
username: "renovate-bot",
|
||||||
|
autodiscover: true,
|
||||||
|
onboardingConfig: {
|
||||||
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
extends: ["config:recommended"],
|
||||||
|
},
|
||||||
|
optimizeForDisabled: true,
|
||||||
|
persistRepoData: true,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user