Skip to content

Commit d36967a

Browse files
committed
Add Renovate configuration draft for checkout repository updates
1 parent 8cf28e4 commit d36967a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

renovate.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,22 @@
9090
"JAVA_VERSION:\\s+?(?<currentValue>.*?)\\s+"
9191
],
9292
"extractVersionTemplate": "^(?<version>\\d+).*$"
93+
},
94+
{
95+
"description": "Update repositories checked out with 'actions/checkout' and a specific ref",
96+
"customType": "regex",
97+
"fileMatch": [
98+
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
99+
"(^|/)action\\.ya?ml$"
100+
],
101+
"matchStringsStrategy": "combination",
102+
"matchStrings": [
103+
"uses: actions/checkout@v*\\s",
104+
"repository: (?<depName>.*?)\\s",
105+
"ref: (?<currentDigest>.*?)\\s"
106+
],
107+
"currentValueTemplate": "main",
108+
"datasourceTemplate": "github-refs"
93109
}
94110
]
95111
}

0 commit comments

Comments
 (0)