Skip to content

Commit

Permalink
updatecli: link to the original Pull Request (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 28, 2023
1 parent 9612945 commit bbca7e5
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
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 @@ -64,6 +73,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 bbca7e5

Please sign in to comment.