Merge pull request 'chore: implement renovate' (#2) from chore/implement-renovate into main
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
28
.gitea/workflows/renovate.yml
Normal file
28
.gitea/workflows/renovate.yml
Normal 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
12
renovate.json
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user