Skip to content

Commit 156e196

Browse files
authored
feat: add renovate setup (#6039)
1 parent 933e106 commit 156e196

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/renovate.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Renovate
2+
on:
3+
schedule:
4+
- cron: '0 23 1 * *' # 23:00 on the first day of each month
5+
workflow_dispatch: # allow manual runs
6+
7+
jobs:
8+
renovate:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/[email protected]
13+
- name: Self-hosted Renovate
14+
uses: renovatebot/[email protected]
15+
with:
16+
configurationFile: renovate.json
17+
env:
18+
RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
LOG_LEVEL: info

renovate.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"enabledManagers": ["npm", "github-actions"],
7+
"packageRules": [
8+
{
9+
"matchManagers": ["npm"],
10+
"matchUpdateTypes": ["major"],
11+
"enabled": false
12+
}
13+
],
14+
"prHourlyLimit": 0,
15+
"prConcurrentLimit": 10,
16+
"minimumReleaseAge": "14d"
17+
}

0 commit comments

Comments
 (0)