Skip to content

Commit 64b9bf0

Browse files
authored
Merge pull request #23214 from github/repo-sync
repo sync
2 parents e9ce76a + 31b6526 commit 64b9bf0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/openapi-decorate.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
mkdir ./lib/rest/static/dereferenced
5252
find rest-api-description/descriptions-next -type f -name "*.deref.json" -exec sh -c 'cp $1 ./lib/rest/static/dereferenced' sh {} \;
5353
cd rest-api-description
54-
HEAD_SHA=$(git rev-parse HEAD) >> $GITHUB_OUTPUT
54+
echo "OPENAPI_COMMIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
55+
echo "Copied files from `github/rest-api-description` repo. Commit SHA: ${{ steps.rest-api-description.outputs.OPENAPI_COMMIT_SHA }})"
5556
5657
- uses: ./.github/actions/node-npm-setup
5758

@@ -80,7 +81,7 @@ jobs:
8081
commit-message: 'Add decorated OpenAPI schema files'
8182
title: Update OpenAPI Description
8283
body: |
83-
'👋 humans. This PR updates the OpenAPI description with the latest changes. (Synced from github/rest-api-description@${{ steps.rest-api-description.outputs.HEAD_SHA }})
84+
'👋 humans. This PR updates the OpenAPI description with the latest changes. (Synced from github/rest-api-description@${{ steps.rest-api-description.outputs.OPENAPI_COMMIT_SHA }})
8485
8586
If CI does not pass or other problems arise, contact #docs-engineering on slack.'
86-
branch: openapi-update-${{ steps.rest-api-description.outputs.HEAD_SHA }})
87+
branch: openapi-update-${{ steps.rest-api-description.outputs.OPENAPI_COMMIT_SHA }})

0 commit comments

Comments
 (0)