mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
feat: add renovate setup (#6039)
This commit is contained in:
19
.github/workflows/renovate.yml
vendored
Normal file
19
.github/workflows/renovate.yml
vendored
Normal 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
17
renovate.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user