File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,10 @@ jobs:
35
35
with :
36
36
cmd : yq '.info.version' 'etc/specs/{{ path }}/previous.spec.yaml'
37
37
- name : Generate spec diff
38
- id : spec-diff
39
38
run : |
40
- curl -fsSL https://pb33f.io/openapi-changes/install.sh | sh
41
- delimiter="$(openssl rand -hex 8)"
42
- echo "diff<<${delimiter}" >> "${GITHUB_OUTPUT}"
43
- echo "$(openapi-changes summary --no-color --no-logo etc/specs/{{ path }}/current.spec.yaml etc/specs/{{ path }}/previous.spec.yaml || true)" >> "${GITHUB_OUTPUT}"
44
- echo "${delimiter}" >> "${GITHUB_OUTPUT}"
39
+ curl -fsSL https://pb33f.io/openapi-changes/install.sh | sh
40
+ echo "Detected Schema changes:" >> "var/detected-schema-changes"
41
+ echo "$(openapi-changes summary --no-color --no-logo etc/specs/{{ path }}/current.spec.yaml etc/specs/{{ path }}/previous.spec.yaml || true)" >> "var/detected-schema-changes"
45
42
- name : Update Client to {{ "${{ steps.look-current-up-spec-version.outputs.result }}" }}
46
43
run : |
47
44
make generate-client {{ path }}
57
54
Enhancement ✨
58
55
{{ path }}
59
56
title : " [{{ path }}] Update to {{ " ${{ steps.look-current-up-spec-version.outputs.result }}" }} (hash: {{ "${{ steps.spec-hash.outputs.current }}" }}) from {{ "${{ steps.look-previous-up-spec-version.outputs.result }}" }} (hash: {{ "${{ steps.spec-hash.outputs.previous }}" }})"
60
- body : |
61
- Detected Schema changes:
62
- {{ "${{ steps.spec-diff.outputs.diff }}" }}
57
+ body-path : " var/detected-schema-changes"
63
58
commit-message : |
64
59
[{{ path }}] Update to {{ "${{ steps.look-current-up-spec-version.outputs.result }}" }} (hash: {{ "${{ steps.spec-hash.outputs.current }}" }}) from {{ "${{ steps.look-previous-up-spec-version.outputs.result }}" }} (hash: {{ "${{ steps.spec-hash.outputs.previous }}" }})
65
60
Detected Schema changes:
You can’t perform that action at this time.
0 commit comments