Skip to content

Commit 0992417

Browse files
authored
Merge pull request #544 from php-api-clients/setup-clients/2023/08/18
2 parents e872b5a + bc7fb41 commit 0992417

14 files changed

+56
-126
lines changed

.github/workflows/generate-GitHub.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHub/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHub/current.spec.yaml etc/specs/GitHub/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/GitHub/current.spec.yaml etc/specs/GitHub/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHub
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHub
5956
title: "[GitHub] 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"
6358
commit-message: |
6459
[GitHub] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubAE.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubAE/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubAE/current.spec.yaml etc/specs/GitHubAE/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/GitHubAE/current.spec.yaml etc/specs/GitHubAE/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubAE
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubAE
5956
title: "[GitHubAE] 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"
6358
commit-message: |
6459
[GitHubAE] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.0.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.0/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.0/current.spec.yaml etc/specs/GitHubEnterprise-3.0/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/GitHubEnterprise-3.0/current.spec.yaml etc/specs/GitHubEnterprise-3.0/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.0
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.0
5956
title: "[GitHubEnterprise-3.0] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.0] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.1.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.1/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.1/current.spec.yaml etc/specs/GitHubEnterprise-3.1/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/GitHubEnterprise-3.1/current.spec.yaml etc/specs/GitHubEnterprise-3.1/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.1
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.1
5956
title: "[GitHubEnterprise-3.1] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.1] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.10.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.10/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.10/current.spec.yaml etc/specs/GitHubEnterprise-3.10/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/GitHubEnterprise-3.10/current.spec.yaml etc/specs/GitHubEnterprise-3.10/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.10
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.10
5956
title: "[GitHubEnterprise-3.10] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.10] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.2.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.2/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.2/current.spec.yaml etc/specs/GitHubEnterprise-3.2/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/GitHubEnterprise-3.2/current.spec.yaml etc/specs/GitHubEnterprise-3.2/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.2
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.2
5956
title: "[GitHubEnterprise-3.2] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.2] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.3.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.3/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.3/current.spec.yaml etc/specs/GitHubEnterprise-3.3/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/GitHubEnterprise-3.3/current.spec.yaml etc/specs/GitHubEnterprise-3.3/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.3
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.3
5956
title: "[GitHubEnterprise-3.3] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.3] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.4.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.4/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.4/current.spec.yaml etc/specs/GitHubEnterprise-3.4/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/GitHubEnterprise-3.4/current.spec.yaml etc/specs/GitHubEnterprise-3.4/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.4
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.4
5956
title: "[GitHubEnterprise-3.4] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.4] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.5.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.5/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.5/current.spec.yaml etc/specs/GitHubEnterprise-3.5/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/GitHubEnterprise-3.5/current.spec.yaml etc/specs/GitHubEnterprise-3.5/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.5
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.5
5956
title: "[GitHubEnterprise-3.5] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.5] 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 }})
6560
Detected Schema changes:

.github/workflows/generate-GitHubEnterprise-3.6.yaml

+4-9
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ jobs:
3535
with:
3636
cmd: yq '.info.version' 'etc/specs/GitHubEnterprise-3.6/previous.spec.yaml'
3737
- name: Generate spec diff
38-
id: spec-diff
3938
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/GitHubEnterprise-3.6/current.spec.yaml etc/specs/GitHubEnterprise-3.6/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/GitHubEnterprise-3.6/current.spec.yaml etc/specs/GitHubEnterprise-3.6/previous.spec.yaml || true)" >> "var/detected-schema-changes"
4542
- name: Update Client to ${{ steps.look-current-up-spec-version.outputs.result }}
4643
run: |
4744
make generate-client GitHubEnterprise-3.6
@@ -57,9 +54,7 @@ jobs:
5754
Enhancement ✨
5855
GitHubEnterprise-3.6
5956
title: "[GitHubEnterprise-3.6] 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"
6358
commit-message: |
6459
[GitHubEnterprise-3.6] 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 }})
6560
Detected Schema changes:

0 commit comments

Comments
 (0)