Skip to content

Commit 847ea64

Browse files
committed
Add renovate
1 parent 6a15136 commit 847ea64

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: validate renovate.json5
2+
3+
on:
4+
pull_request:
5+
6+
env:
7+
LOG_LEVEL: debug
8+
9+
jobs:
10+
renovate-config-validator:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
14+
steps:
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
16+
17+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
18+
with:
19+
node-version: 20
20+
21+
- run: npx -p renovate renovate-config-validator renovate.json5

renovate.json5

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
extends: [
3+
'config:best-practices',
4+
':rebaseStalePrs',
5+
'customManagers:dockerfileVersions',
6+
],
7+
packageRules: [
8+
{
9+
matchUpdateTypes: [
10+
'minor',
11+
'patch',
12+
'digest',
13+
],
14+
groupName: 'all non-major dependencies',
15+
schedule: [
16+
'after 10pm on Friday',
17+
],
18+
matchPackageNames: [
19+
'*',
20+
],
21+
},
22+
{
23+
matchManagers: [
24+
'composer',
25+
],
26+
groupName: 'composer updates',
27+
},
28+
{
29+
matchManagers: [
30+
'dockerfile',
31+
],
32+
groupName: 'Dockerfile updates',
33+
},
34+
{
35+
matchManagers: [
36+
'github-actions',
37+
],
38+
groupName: 'GitHub Actions updates',
39+
schedule: [
40+
'after 10pm on Friday',
41+
],
42+
},
43+
{
44+
matchUpdateTypes: [
45+
'major',
46+
],
47+
groupName: 'all major updates',
48+
schedule: [
49+
'after 10pm on the first day of the month',
50+
],
51+
matchPackageNames: [
52+
'*',
53+
],
54+
},
55+
],
56+
labels: [
57+
'dependencies',
58+
],
59+
osvVulnerabilityAlerts: true,
60+
dependencyDashboardOSVVulnerabilitySummary: 'unresolved',
61+
vulnerabilityAlerts: {
62+
enabled: true,
63+
},
64+
}

0 commit comments

Comments
 (0)