Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generated/kbapi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SHELL := /bin/bash
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))

github_ref ?= refs/heads/main
github_ref ?= 5c4f76696e63bf9e9a53d55521f4c18faa02ccf2
oas_url := https://raw.githubusercontent.com/elastic/kibana/$(github_ref)/oas_docs/output/kibana.yaml

.PHONY: all
Expand Down
15 changes: 15 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
"extends": [
"local>elastic/renovate-config"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^generated/kbapi/Makefile$/"],
"matchStrings": ["github_ref \\?= (?<currentDigest>.*?)\\n"],
"currentValueTemplate": "main",
"depNameTemplate": "kibana-openapi-spec",
"packageNameTemplate": "https://github.com/elastic/kibana",
"datasourceTemplate": "git-refs"
}
],
"postUpgradeTasks": {
"commands": ["make -C generated/kbapi all"],
"fileFilters": ["generated/kbapi/Makefile"]
},
"automerge": true,
"automergeStrategy": "squash",
"automergeType": "branch",
Expand Down
Loading