Skip to content

Commit

Permalink
Merge pull request #23214 from github/repo-sync
Browse files Browse the repository at this point in the history
repo sync
  • Loading branch information
Octomerger authored Jan 13, 2023
2 parents e9ce76a + 31b6526 commit 64b9bf0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/openapi-decorate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
mkdir ./lib/rest/static/dereferenced
find rest-api-description/descriptions-next -type f -name "*.deref.json" -exec sh -c 'cp $1 ./lib/rest/static/dereferenced' sh {} \;
cd rest-api-description
HEAD_SHA=$(git rev-parse HEAD) >> $GITHUB_OUTPUT
echo "OPENAPI_COMMIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
echo "Copied files from `github/rest-api-description` repo. Commit SHA: ${{ steps.rest-api-description.outputs.OPENAPI_COMMIT_SHA }})"
- uses: ./.github/actions/node-npm-setup

Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
commit-message: 'Add decorated OpenAPI schema files'
title: Update OpenAPI Description
body: |
'👋 humans. This PR updates the OpenAPI description with the latest changes. (Synced from github/rest-api-description@${{ steps.rest-api-description.outputs.HEAD_SHA }})
'👋 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 }})
If CI does not pass or other problems arise, contact #docs-engineering on slack.'
branch: openapi-update-${{ steps.rest-api-description.outputs.HEAD_SHA }})
branch: openapi-update-${{ steps.rest-api-description.outputs.OPENAPI_COMMIT_SHA }})

0 comments on commit 64b9bf0

Please sign in to comment.