Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
105 lines (105 loc) · 3.4 KB
/
Copy pathrenovate.json
File metadata and controls
105 lines (105 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>uinaf/.github:renovate-config"
],
"customManagers": [
{
"customType": "regex",
"description": "Versioned and digest-pinned scanner images used by the scan action's docker run commands",
"managerFilePatterns": [
"/^\\.github/actions/scan/action\\.yml$/"
],
"matchStrings": [
"(?<depName>zricethezav/gitleaks|rhysd/actionlint|ghcr\\.io/zizmorcore/zizmor):(?<currentValue>[^\\s@]+)@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "sha256-pinned release archives the scan action downloads on macOS, one per runner architecture",
"managerFilePatterns": [
"/^\\.github/actions/scan/action\\.yml$/"
],
"matchStrings": [
"(?<depName>[\\w.-]+/[\\w.-]+)@(?<currentValue>v[^\\s']+) '[^']+' sha256:(?<currentDigest>[a-f0-9]{64})"
],
"datasourceTemplate": "github-release-attachments",
"versioningTemplate": "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
},
{
"customType": "regex",
"description": "Commit-pinned pyflakes the scan action fetches for macOS Actionlint",
"managerFilePatterns": [
"/^\\.github/actions/scan/action\\.yml$/"
],
"matchStrings": [
"https://github\\.com/(?<depName>[\\w.-]+/[\\w.-]+) (?<currentDigest>[a-f0-9]{40}) # (?<currentValue>\\S+)"
],
"datasourceTemplate": "github-tags"
}
],
"packageRules": [
{
"description": "Gitleaks pins move in one PR on one release age: verify fails when a scanner's image, macOS archives, and mise pin disagree",
"matchPackageNames": [
"zricethezav/gitleaks",
"gitleaks/gitleaks"
],
"matchUpdateTypes": [
"patch",
"minor",
"major"
],
"groupName": "gitleaks",
"minimumReleaseAge": "3 days"
},
{
"description": "Actionlint pins move in one PR on one release age, with the ShellCheck that macOS runs beside it",
"matchPackageNames": [
"rhysd/actionlint",
"koalaman/shellcheck"
],
"matchUpdateTypes": [
"patch",
"minor",
"major"
],
"groupName": "actionlint",
"minimumReleaseAge": "3 days"
},
{
"description": "macOS Actionlint runs the pyflakes release the Actionlint image bundles, which Renovate cannot read, so a pyflakes update waits for dashboard approval until the image ships it",
"matchPackageNames": [
"PyCQA/pyflakes"
],
"groupName": "pyflakes",
"dependencyDashboardApproval": true
},
{
"description": "Zizmor pins move in one PR on one release age",
"matchPackageNames": [
"ghcr.io/zizmorcore/zizmor",
"zizmorcore/zizmor",
"zizmor"
],
"matchUpdateTypes": [
"patch",
"minor",
"major"
],
"groupName": "zizmor",
"minimumReleaseAge": "3 days"
},
{
"description": "ghcr.io gives Renovate no release timestamps, so a required timestamp would hold the Zizmor image back forever",
"matchPackageNames": [
"ghcr.io/zizmorcore/zizmor"
],
"minimumReleaseAgeBehaviour": "timestamp-optional"
}
],
"platformAutomerge": true,
"automergeType": "pr"
}