Skip to content

Commit 7119e61

Browse files
authored
SCANNPM-92 Configure renovate (#213)
1 parent 41b07be commit 7119e61

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/renovate.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>SonarSource/renovate-config:languages-team"],
4+
"configMigration": true,
5+
"schedule": ["before 6am every weekday"],
6+
"enabledManagers": ["github-actions", "npm"],
7+
"dockerfile": {
8+
"enabled": true
9+
},
10+
"ignorePaths": ["**/fixtures/**"],
11+
"packageRules": [
12+
{
13+
"matchManagers": ["github-actions"],
14+
"pinDigests": false,
15+
"groupName": "all github actions",
16+
"groupSlug": "all-github-actions"
17+
},
18+
{
19+
"matchManagers": ["github-actions"],
20+
"matchUpdateTypes": ["pin", "rollback"],
21+
"enabled": false
22+
},
23+
{
24+
"matchDatasources": ["npm"],
25+
"registryUrls": ["https://repox.jfrog.io/artifactory/api/npm/npm"]
26+
},
27+
{
28+
"matchUpdateTypes": ["minor", "patch"],
29+
"matchCurrentVersion": "!/^0/"
30+
}
31+
],
32+
"hostRules": [
33+
{
34+
"hostType": "npm",
35+
"matchHost": "https://repox.jfrog.io/artifactory/api/npm/npm/",
36+
"token": "{{ secrets.REPOX_TOKEN }}"
37+
}
38+
],
39+
"autoApprove": true,
40+
"rebaseWhen": "never"
41+
}

0 commit comments

Comments
 (0)