feat: add renovate setup (#6039)

This commit is contained in:
Ulises Gascón
2025-11-16 22:18:32 +01:00
committed by GitHub
parent 933e1061b8
commit 156e1965ae
2 changed files with 36 additions and 0 deletions

19
.github/workflows/renovate.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Renovate
on:
schedule:
- cron: '0 23 1 * *' # 23:00 on the first day of each month
workflow_dispatch: # allow manual runs
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5.0.0
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.0
with:
configurationFile: renovate.json
env:
RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LOG_LEVEL: info

17
renovate.json Normal file
View File

@@ -0,0 +1,17 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"enabledManagers": ["npm", "github-actions"],
"packageRules": [
{
"matchManagers": ["npm"],
"matchUpdateTypes": ["major"],
"enabled": false
}
],
"prHourlyLimit": 0,
"prConcurrentLimit": 10,
"minimumReleaseAge": "14d"
}