diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 000000000..e0a27d1c4 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -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 diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..1ffa04320 --- /dev/null +++ b/renovate.json @@ -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" +}