Skip to content

Commit

Permalink
Merge pull request #398 from yurake/renovate/addon
Browse files Browse the repository at this point in the history
support for GitHub Actions versions #395
  • Loading branch information
yurake authored Jul 30, 2020
2 parents 0ef72f8 + ecb6a8e commit 0784a7c
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,48 @@
"digest"
],
"automerge": true
},
{
"packageNames": [
"actions/checkout",
"actions/cache",
"actions/upload-artifact",
"actions/download-artifact",
"actions/setup-node",
"brpaz/hadolint-action"
],
"versioning": "regex:^v(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?"
},
{
"datasources": [
"repology"
],
"packagePatterns": [
"^alpine_3_12/"
],
"separateMajorMinor": false,
"groupName": "alpine packages",
"groupSlug": "alpine"
}
],
"regexManagers": [
{
"fileMatch": [
"^\\.github/workflows/[^/]+\\.ya?ml$"
],
"matchStrings": [
"uses: (?<depName>.*?)@(?<currentValue>.*?)\n"
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": [
"(^|/)Dockerfile$"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=\"?(?<currentValue>.*?)\"?\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
],
"assignees": [
Expand All @@ -21,4 +63,4 @@
"labels": [
"renovate"
]
}
}

0 comments on commit 0784a7c

Please sign in to comment.