mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-22 14:17:51 -04:00
Furthermore add auto-merge label to PRs created by renovate
(cherry picked from commit 127fa2782a
)
# Conflicts:
# renovate.json
40 lines
1.4 KiB
JSON
40 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"github>elastic/renovate-config:only-chainguard",
|
|
":disableDependencyDashboard"
|
|
],
|
|
"schedule": [
|
|
"after 1pm on tuesday"
|
|
],
|
|
"labels": [">non-issue", ":Delivery/Packaging", "Team:Delivery", "auto-merge-without-approval"],
|
|
"baseBranches": ["main", "8.x", "8.17", "8.16"],
|
|
"packageRules": [
|
|
{
|
|
"groupName": "wolfi (versioned)",
|
|
"groupSlug": "wolfi-versioned",
|
|
"description": "Override the `groupSlug` to create a non-special-character branch name",
|
|
"matchDatasources": [
|
|
"docker"
|
|
],
|
|
"matchPackagePatterns": [
|
|
"^docker.elastic.co/wolfi/chainguard-base$"
|
|
]
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"description": "Extract Wolfi images from elasticsearch DockerBase configuration",
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"build\\-tools\\-internal\\/src\\/main\\/java\\/org\\/elasticsearch\\/gradle\\/internal\\/DockerBase\\.java$"
|
|
],
|
|
"matchStrings": [
|
|
"\\s*\"?(?<depName>[^\\s:@\"]+)(?::(?<currentValue>[-a-zA-Z0-9.]+))?(?:@(?<currentDigest>sha256:[a-zA-Z0-9]+))?\"?"
|
|
],
|
|
"currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}latest{{/if}}",
|
|
"autoReplaceStringTemplate": "{{{depName}}}{{#if newValue}}:{{{newValue}}}{{/if}}{{#if newDigest}}@{{{newDigest}}}{{/if}}\"",
|
|
"datasourceTemplate": "docker"
|
|
}
|
|
]
|
|
}
|