Skip to content

Commit

Permalink
Renovate migrate (#4114)
Browse files Browse the repository at this point in the history
* chore: Migrate renovate config

https://github.com/renovatebot/renovate/blob/main/docs/usage/config-validation.md
renovate-config-validator

* style: Add renovate to prettier ignore list
  • Loading branch information
edmundmiller authored Oct 17, 2023
1 parent 420c204 commit 2ad9beb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
53 changes: 26 additions & 27 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:base"],
platform: "github",
onboarding: false,
dependencyDashboard: true,
dependencyDashboardTitle: "Renovate Dashboard 🤖",
suppressNotifications: ["prIgnoreNotification"],
rebaseWhen: "conflicted",
reviewers: ["team:maintainers"],
regexManagers: [
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"platform": "github",
"onboarding": false,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"reviewers": ["team:maintainers"],
"regexManagers": [
{
description: "Process Conda dependencies",
fileMatch: ["(^|/)main\\.nf$"],
matchStrings: ['\\s+conda\\s+"(?<registryUrl>\\S+)::(?<depName>\\S+)=(?<currentValue>.*\\-.*)\'"\n'],
datasourceTemplate: "conda",
"customType": "regex",
"description": "Process Conda dependencies",
"fileMatch": ["(^|/)main\\.nf$"],
"matchStrings": ["\\s+conda\\s+\"(?<registryUrl>\\S+)::(?<depName>\\S+)=(?<currentValue>.*\\-.*)'\"\n"],
"datasourceTemplate": "conda"
},
{
description: "Process Containers dependencies",
fileMatch: ["(^|/)main\\.nf$"],
matchStrings: ["\\s+'(?<depName>\\S+):(?<currentValue>.*\\-.*)' }\"\n"],
datasourceTemplate: "docker",
},
"customType": "regex",
"description": "Process Containers dependencies",
"fileMatch": ["(^|/)main\\.nf$"],
"matchStrings": ["\\s+'(?<depName>\\S+):(?<currentValue>.*\\-.*)' }\"\n"],
"datasourceTemplate": "docker"
}
],
packageRules: [
"packageRules": [
{
matchDatasources: ["docker"],
registryUrls: [
"quay.io",
"registry.hub.docker.com", // We need this for updating depedancies in Dockerfiles
],
},
],
"matchDatasources": ["docker"],
"registryUrls": ["quay.io", "registry.hub.docker.com"]
}
]
}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ tests/data/
__pycache__
*.pyo
*.pyc
.github/renovate.json5

0 comments on commit 2ad9beb

Please sign in to comment.