diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 46af7821e36..eacaed1524b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -7,8 +7,24 @@ "prHeader": "## WARNING\n - [ ] I have made sure to update the singularity and conda images", "packageRules": [ { - "matchDatasources": ["conda", "pypi", "docker"], + "matchDatasources": [ + "conda", + "pypi", + "docker" + ], "automerge": false } - ] + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$", + "(^|/)action\\.ya?ml$" + ], + "matchStrings": [ + "# renovate: datasource=(?[a-z-.]+?) depName=(?[^\\s]+?)(?: (?:lookupName|packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?.+?)[\"']?\\s" + ] + } + ] }