Skip to content

Commit

Permalink
ci/renovate: allow renovate to update itself
Browse files Browse the repository at this point in the history
  • Loading branch information
roobre committed Oct 14, 2024
1 parent b803961 commit 02e17e8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,20 @@
// Extracted "versions" include the package name, so here we strip that prefix using a regex.
"extractVersionTemplate": "{{depName}}-(?<version>.+).apk",
},
{
// Update renovate version in GHA workflow file.
"customType": "regex",
"depNameTemplate": "ghcr.io/renovatebot/renovate",
"datasourceTemplate": "docker",
"fileMatch": [
"^\\.github/workflows/.*\\.ya?ml$",
],
"matchStrings": [
"renovate-version: (?<currentValue>\\S+)",
"RENOVATE_IMAGE=ghcr.io/renovatebot/renovate:(?<currentValue>\\S+)"
]
}
],

"customDatasources": {
// Use alpine HTML mirror page as a repository. When using `html` format, renovate produces version strings from
// all links present in the page. The version is extracted from that using extractVersionTemplate above.
Expand Down

0 comments on commit 02e17e8

Please sign in to comment.