mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
Furthermore add auto-merge label to PRs created by renovate
(cherry picked from commit 127fa2782a
)
# Conflicts:
# renovate.json
This commit is contained in:
parent
bf45723ea3
commit
8fa74393e8
1 changed files with 40 additions and 0 deletions
40
renovate.json
Normal file
40
renovate.json
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"$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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue