Skip to content

Commit

Permalink
updatecli: link to the original Pull Request (elastic#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 9, 2023
1 parent 727a7d3 commit 9849db8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .ci/updatecli.d/update-gherkin-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
api_key.feature:
kind: file
spec:
Expand Down Expand Up @@ -65,6 +73,7 @@ actions:
### Why
*Changeset*
* https://github.com/elastic/apm/commit/{{ source "sha" }}
* {{ source "pull_request" }}
targets:
api_key.feature:
Expand Down
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
service_resource_inference.json:
kind: file
spec:
Expand Down Expand Up @@ -65,6 +73,7 @@ actions:
### Why
*Changeset*
* https://github.com/elastic/apm/commit/{{ source "sha" }}
* {{ source "pull_request" }}
targets:
service_resource_inference.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 @@ -60,6 +69,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 9849db8

Please sign in to comment.