diff --git a/.ci/updatecli.d/update-gherkin-specs.yml b/.ci/updatecli.d/update-gherkin-specs.yml index 98ba617e8a..c55adeaa25 100644 --- a/.ci/updatecli.d/update-gherkin-specs.yml +++ b/.ci/updatecli.d/update-gherkin-specs.yml @@ -23,7 +23,15 @@ sources: transformers: - findsubmatch: pattern: "[0-9a-f]{40}" - + pull_request: + kind: shell + dependson: + - sha + spec: + command: gh api /repos/elastic/apm/commits/{{ source "sha" }}/pulls --jq '.[].html_url' + environments: + - name: GITHUB_TOKEN + - name: PATH api_key.feature: kind: file spec: @@ -62,10 +70,13 @@ actions: description: |- ### What APM agent Gherkin specs automatic sync + ### Why *Changeset* + * {{ source "pull_request" }} * https://github.com/elastic/apm/commit/{{ source "sha" }} + targets: api_key.feature: name: api_key.feature diff --git a/.ci/updatecli.d/update-json-specs.yml b/.ci/updatecli.d/update-json-specs.yml index 331fb3c309..08900fb82b 100644 --- a/.ci/updatecli.d/update-json-specs.yml +++ b/.ci/updatecli.d/update-json-specs.yml @@ -23,7 +23,15 @@ sources: transformers: - findsubmatch: pattern: "[0-9a-f]{40}" - + pull_request: + kind: shell + dependson: + - sha + spec: + command: gh api /repos/elastic/apm/commits/{{ source "sha" }}/pulls --jq '.[].html_url' + environments: + - name: GITHUB_TOKEN + - name: PATH container_metadata_discovery.json: kind: file spec: @@ -65,8 +73,10 @@ actions: description: |- ### What APM agent specs automatic sync + ### Why *Changeset* + * {{ source "pull_request" }} * https://github.com/elastic/apm/commit/{{ source "sha" }} targets: diff --git a/.ci/updatecli.d/update-specs.yml b/.ci/updatecli.d/update-specs.yml index 58fe8fafec..55950c3688 100644 --- a/.ci/updatecli.d/update-specs.yml +++ b/.ci/updatecli.d/update-specs.yml @@ -23,6 +23,15 @@ sources: 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: @@ -58,8 +67,10 @@ actions: description: |- ### What APM agent json schema automatic sync + ### Why *Changeset* + * {{ source "pull_request" }} * https://github.com/elastic/apm-data/commit/{{ source "sha" }} targets: