diff --git a/.ci/updatecli.d/update-gherkin-specs.yml b/.ci/updatecli.d/update-gherkin-specs.yml index f3fc4217b..7be1c5cda 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: @@ -65,6 +73,7 @@ actions: ### Why *Changeset* * https://github.com/elastic/apm/commit/{{ source "sha" }} + * {{ source "pull_request" }} targets: api_key.feature: diff --git a/.ci/updatecli.d/update-json-specs.yml b/.ci/updatecli.d/update-json-specs.yml index 7ea73879a..0ddd089a9 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: @@ -68,6 +76,7 @@ actions: ### Why *Changeset* * https://github.com/elastic/apm/commit/{{ source "sha" }} + * {{ source "pull_request" }} targets: container_metadata_discovery.json: diff --git a/.ci/updatecli.d/update-specs.yml b/.ci/updatecli.d/update-specs.yml index 10fc3309e..51fd6a54a 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: @@ -64,6 +73,7 @@ actions: ### Why *Changeset* * https://github.com/elastic/apm-data/commit/{{ source "sha" }} + * {{ source "pull_request" }} targets: error.json: