Skip to content

Commit e4a0813

Browse files
committed
Use custom manager to update ref parameter of shared workflow
1 parent 0dd36a7 commit e4a0813

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

renovate.json

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"config:recommended",
55
":combinePatchMinorReleases",
66
"schedule:earlyMondays",
7-
"helpers:pinGitHubActionDigests"
7+
"helpers:pinGitHubActionDigests",
8+
"github>JohT/code-graph-analysis-pipeline//renovate-presets/code-graph-analysis-workflow-latest-digest.json5"
89
],
9-
"ignoreUnstable": false,
1010
"packageRules": [
1111
{
1212
"description": "Code Graph Analysis Pipeline Workflow",
@@ -87,22 +87,6 @@
8787
"JAVA_VERSION:\\s+?(?<currentValue>.*?)\\s+"
8888
],
8989
"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"
10690
}
10791
]
10892
}

0 commit comments

Comments
 (0)