Skip to content

Commit

Permalink
updatecli: link to the original Pull Request (#3714)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 7, 2023
1 parent dd1dc27 commit f73c217
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .ci/updatecli.d/update-json-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -68,6 +76,7 @@ actions:
### Why
*Changeset*
* https://github.com/elastic/apm/commit/{{ source "sha" }}
* {{ source "pull_request" }}
targets:
container_metadata_discovery.json:
Expand Down
10 changes: 10 additions & 0 deletions .ci/updatecli.d/update-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -61,6 +70,7 @@ actions:
### Why
*Changeset*
* https://github.com/elastic/apm-data/commit/{{ source "sha" }}
* {{ source "pull_request" }}
targets:
error.json:
Expand Down

0 comments on commit f73c217

Please sign in to comment.