Skip to content

Commit

Permalink
ci: adding Renovate GitHub Workflow Earthly updating (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 authored Dec 1, 2024
1 parent 988d9a0 commit 543f10d
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^Earthfile$"],
"fileMatch": [
"^Earthfile$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.+_VERSION=\"(?<currentValue>.*?)\"\\s"
]
},
{
"customType": "regex",
"fileMatch": ["^Earthfile$"],
"fileMatch": [
"^Earthfile$"
],
"matchStrings": [
"# renovate: datasource=repology packageName=alpine_(?<currentValue>\\d+[._]\\d+)"
],
Expand All @@ -29,6 +33,17 @@
"depNameTemplate": "alpine",
"versioningTemplate": "regex:^(?<major>\\d+)[._](?<minor>\\d+)$",
"autoReplaceStringTemplate": "# renovate: datasource=repology packageName=alpine_{{{newMajor}}}_{{{newMinor}}}"
},
{
"customType": "regex",
"fileMatch": [
"^[.]github/workflows/"
],
"matchStrings": [
".*version: (?<currentValue>.*?)\\s"
],
"datasourceTemplate": "docker",
"depNameTemplate": "earthly/earthly"
}
]
}

0 comments on commit 543f10d

Please sign in to comment.