chore: implement renovate #2

Merged
Sebastian merged 1 commits from chore/implement-renovate into main 2026-02-11 04:56:35 +00:00
2 changed files with 40 additions and 0 deletions
Showing only changes of commit 11117a4510 - Show all commits

View File

@@ -0,0 +1,28 @@
name: Renovate
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
- name: Set up Node.js
uses: actions/setup-node@v6.2.0
with:
node-version: 24
cache: npm
- name: Install Renovate
run: npm install -g renovate
- name: Run Renovate
env:
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_CONFIG_FILE: renovate.json
run: renovate

12
renovate.json Normal file
View File

@@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"platform": "gitea",
"endpoint": "https://git.ktrix.dev/api/v1",
"repositories": ["Nodarx/server"],
"extends": ["config:base"],
"enabledManagers": ["npm", "composer"],
"schedule": ["every day"],
"dependencyDashboard": true,
"prConcurrentLimit": 5,
"prHourlyLimit": 2
}