Skip to content

Commit e22b894

Browse files
committed
renovate
1 parent 86d58ed commit e22b894

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

.github/workflows/renovate.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# https://github.com/renovatebot/github-action/
2+
name: Renovate
3+
on:
4+
schedule:
5+
- cron: "0 5 * * *" # Run daily at 5 AM
6+
workflow_dispatch: # Allow manual triggering
7+
8+
jobs:
9+
renovate:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Self-hosted Renovate
16+
uses: renovatebot/[email protected]
17+
with:
18+
configurationFile: renovate.json
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
env:
21+
LOG_LEVEL: "debug"
22+
RENOVATE_AUTODISCOVER: "true"

renovate.json

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"extends": ["config:recommended"],
3+
"rangeStrategy": "pin",
4+
"packageRules": [
5+
{
6+
"groupName": "all minor and patch devDependencies",
7+
"matchDepTypes": ["devDependencies"],
8+
"matchUpdateTypes": ["minor", "patch"],
9+
"automerge": false
10+
},
11+
{
12+
"groupName": "all major devDependencies",
13+
"matchDepTypes": ["devDependencies"],
14+
"matchUpdateTypes": ["major"],
15+
"automerge": false
16+
},
17+
{
18+
"groupName": "all minor and patch dependencies",
19+
"matchDepTypes": ["dependencies"],
20+
"matchUpdateTypes": ["minor", "patch"],
21+
"automerge": false
22+
},
23+
{
24+
"groupName": "all major dependencies",
25+
"matchDepTypes": ["dependencies"],
26+
"matchUpdateTypes": ["major"],
27+
"automerge": false
28+
},
29+
{
30+
"groupName": "GitHub Actions",
31+
"matchManagers": ["github-actions"],
32+
"automerge": false
33+
}
34+
],
35+
"ignoreDeps": [
36+
"@intercom/intercom-react-native",
37+
"@shopify/restyle",
38+
"aws-amplify",
39+
"eslint",
40+
"eslint-plugin-sonarjs",
41+
"jwt-decode",
42+
"jest-expo",
43+
"react-native-image-viewing"
44+
],
45+
"prCreation": "immediate",
46+
"automerge": false,
47+
"branchConcurrentLimit": 50,
48+
"dependencyDashboard": true
49+
}

0 commit comments

Comments
 (0)