@@ -15,21 +15,18 @@ This is a monorepo containing several Actions. When we release a workflow, we cr
1515
1616While Dependabot can update references to these actions, Renovate can't do it out of the box. It can, however, be configured to do so:
1717
18- ``` json5
18+ ``` json
1919{
2020 packageRules: [
2121 {
22- matchPackageNames: [" grafana/shared-workflows" ],
23- versioning: " regex:^(?<compatibility>.*)[-/]v?(?<major>\\ d+)\\ .(?<minor>\\ d+)\\ .(?<patch>\\ d+)?$" ,
24-
25- // By default, the dependency name is the same as the package name. For
26- // Actions, this is `org/repo`. This means that we'd get all actions from
27- // `shared-workflows` in the same branch. Our tag scheme contains the name
28- // of the action being update to as well, so we can grab it from there and
29- // set the dep name, then put this in the branch name. This should mean
30- // that each shared workflow is handled separately.
31- overrideDepName: ' grafana/shared-workflows/{{ lookup (split newVersion "/") 0 }}' ,
32- additionalBranchPrefix: " {{depName}}" ,
22+ "matchPackageNames" : [" grafana/shared-workflows" ],
23+ "versioning" : " regex:^(?<compatibility>.*)[-/]v?(?<major>\\ d+)\\ .(?<minor>\\ d+)\\ .(?<patch>\\ d+)?$" ,
24+ "additionalBranchPrefix" : " {{ lookup (split newVersion \" /\" ) 0 }}-" ,
25+ "commitMessagePrefix" : " chore(deps):" ,
26+ "commitMessageAction" : " update" ,
27+ "commitMessageTopic" : " {{depName}}/{{ lookup (split newVersion \" /\" ) 0 }} action" ,
28+ "commitMessageExtra" : " to {{ lookup (split newVersion \" /\" ) 1 }}" ,
29+
3330 },
3431 ],
3532}
0 commit comments