Skip to content

Commit 3c92d62

Browse files
committed
Use shared renovate preset to update the code graph analysis pipeline
1 parent 0751196 commit 3c92d62

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

renovate.json

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,8 @@
44
"config:recommended",
55
":combinePatchMinorReleases",
66
"schedule:earlyMondays",
7-
"helpers:pinGitHubActionDigests"
8-
],
9-
"ignoreUnstable": false,
10-
"packageRules": [
11-
{
12-
"description": "Code Graph Analysis Pipeline Workflow",
13-
"groupName": [
14-
"Code Graph Analysis Pipeline Workflow"
15-
],
16-
"matchPackageNames": [
17-
"JohT/code-graph-analysis-pipeline",
18-
"https://github.com/JohT/code-graph-analysis-pipeline"
19-
]
20-
}
7+
"helpers:pinGitHubActionDigests",
8+
"github>JohT/code-graph-analysis-pipeline//renovate-presets/code-graph-analysis-workflow-latest-digest.json5"
219
],
2210
"customManagers": [
2311
{
@@ -87,22 +75,6 @@
8775
"JAVA_VERSION:\\s+?(?<currentValue>.*?)\\s+"
8876
],
8977
"extractVersionTemplate": "^(?<version>\\d+).*$"
90-
},
91-
{
92-
"description": "Update code-graph-analysis-pipeline ref parameter",
93-
"customType": "regex",
94-
"fileMatch": [
95-
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
96-
"(^|/)action\\.ya?ml$"
97-
],
98-
"matchStringsStrategy": "combination",
99-
"matchStrings": [
100-
"uses: JohT/code-graph-analysis-pipeline/\\.github/workflows/public-analyze-code-graph\\.yml*\\s*",
101-
"ref:\\s*(?<currentDigest>.*?)\\s+#\\s+(?<currentValue>.*?)\\s+"
102-
],
103-
104-
"packageNameTemplate": "https://github.com/JohT/code-graph-analysis-pipeline",
105-
"datasourceTemplate": "git-refs"
10678
}
10779
]
10880
}

0 commit comments

Comments
 (0)