This commit is contained in:
@@ -14,5 +14,5 @@ jobs:
|
|||||||
- run: renovate
|
- run: renovate
|
||||||
env:
|
env:
|
||||||
RENOVATE_CONFIG_FILE: "${{ gitea.workspace }}/config.js"
|
RENOVATE_CONFIG_FILE: "${{ gitea.workspace }}/config.js"
|
||||||
LOG_LEVEL: "info"
|
LOG_LEVEL: "debug"
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
24
config.js
24
config.js
@@ -1,11 +1,18 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
"endpoint": "https://git.cynarski.pl/api/v1",
|
endpoint: "https://git.cynarski.pl/api/v1",
|
||||||
"gitAuthor": "Renovate Bot <renovate@cynarski.pl>",
|
gitAuthor: "Renovate Bot <renovate@cynarski.pl>",
|
||||||
"platform": "gitea",
|
platform: "gitea",
|
||||||
"onboardingConfigFileName": "renovate.json",
|
onboardingConfigFileName: "renovate.json",
|
||||||
"autodiscover": true,
|
autodiscover: true,
|
||||||
"optimizeForDisabled": true,
|
autodiscoverTopics: ["managed-by-renovate"],
|
||||||
labels: ['renovate'], // Labels for PRs
|
recreateWhen: "always",
|
||||||
|
reuseExistingBranch: true,
|
||||||
|
dependencyDashboard: true,
|
||||||
|
onboarding: true,
|
||||||
|
prHourlyLimit: 0, // No hourly limit on PRs
|
||||||
|
prConcurrentLimit: 20, // Concurrent PR limit
|
||||||
|
branchPrefix: "update-deps/",
|
||||||
|
labels: ['renovate', 'deps'], // Labels for PRs
|
||||||
hostRules: [
|
hostRules: [
|
||||||
{
|
{
|
||||||
"hostType": "github",
|
"hostType": "github",
|
||||||
@@ -16,11 +23,12 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
fileMatch: ['^Dockerfile$'],
|
fileMatch: ['^Dockerfile$'],
|
||||||
matchStrings: [
|
matchStrings: [
|
||||||
'# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) versioning=(?<versioning>\\S+)\\s+ENV \\w+=(?<currentValue>\\d+\\.\\d+\\.\\d+)'
|
'# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) versioning=(?<versioning>\\S+)\\s+ENV \\w+=(?<currentValue>v?[\\w\\.\\-]+)'
|
||||||
],
|
],
|
||||||
datasourceTemplate: '{{{datasource}}}',
|
datasourceTemplate: '{{{datasource}}}',
|
||||||
packageNameTemplate: '{{{depName}}}',
|
packageNameTemplate: '{{{depName}}}',
|
||||||
versioningTemplate: '{{{versioning}}}',
|
versioningTemplate: '{{{versioning}}}',
|
||||||
|
extractVersionTemplate: "^v(?<version>.*)$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user