.ci/updatecli.d/update-specs.yml in elastic-apm-4.7.0 vs .ci/updatecli.d/update-specs.yml in elastic-apm-4.7.1
- old
+ new
@@ -21,10 +21,19 @@
file: 'https://github.com/elastic/apm-data/commit/main.patch'
matchpattern: "^From\\s([0-9a-f]{40})\\s"
transformers:
- findsubmatch:
pattern: "[0-9a-f]{40}"
+ pull_request:
+ kind: shell
+ dependson:
+ - sha
+ spec:
+ command: gh api /repos/elastic/apm-data/commits/{{ source "sha" }}/pulls --jq '.[].html_url'
+ environments:
+ - name: GITHUB_TOKEN
+ - name: PATH
error.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm-data/main/input/elasticapm/docs/spec/v2/error.json
metadata.json:
@@ -62,9 +71,10 @@
### What
APM agent json schema automatic sync
### Why
*Changeset*
* https://github.com/elastic/apm-data/commit/{{ source "sha" }}
+ * {{ source "pull_request" }}
targets:
error.json:
name: error.json
scmid: default