diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..76d2083 --- /dev/null +++ b/renovate.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "enabledManagers": ["custom.regex"], + "schedule": ["before 4am on monday"], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^src/config\\.rs$"], + "matchStrings": [ + "url:\\s*\"https://github\\.com/(?[^\"]+?)(?:\\.git)?\"\\.to_string\\(\\),\\s*tag:\\s*\"(?v[0-9][^\"]*)\"" + ], + "datasourceTemplate": "github-tags", + "versioningTemplate": "semver" + }, + { + "customType": "regex", + "fileMatch": ["^ci/dependency-profiles\\.json$"], + "matchStrings": [ + "\"tag\":\\s*\"synapse-sdk-v(?[0-9][^\"]*)\"" + ], + "depNameTemplate": "FilOzone/synapse-sdk", + "datasourceTemplate": "github-tags", + "extractVersionTemplate": "^synapse-sdk-v(?.+)$", + "versioningTemplate": "semver" + }, + { + "customType": "regex", + "fileMatch": ["^ci/dependency-profiles\\.json$"], + "matchStrings": [ + "\"strategy\":\\s*\"npm_version\",\\s*\"version\":\\s*\"(?[0-9][^\"]*)\"" + ], + "depNameTemplate": "filecoin-pin", + "datasourceTemplate": "npm", + "versioningTemplate": "npm" + } + ] +}