Skip to content

Commit

Permalink
A fex fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed May 6, 2024
1 parent ccc67d3 commit 5093eaf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update-specs-and-client-libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ jobs:
- generator: typescript-axios
git_repo_id: onfido-node
preCommit: |
npx prettier --write package.json
npm install
version: ${{ needs.generate_specs_and_libraries.outputs.typescript_axios_version }}
update: ${{ inputs.update-onfido-node || true }}
Expand Down Expand Up @@ -208,7 +209,7 @@ jobs:
if: ${{ matrix.update }}
run: |
${{ matrix.preCommit }}
- name: Update CHANGELOG (if any change detected)
- name: Update CHANGELOG and lint .md files as needed
if: ${{ matrix.update }}
run: |
if [ "$(git status --porcelain=v1 | wc -l | sed -e 's/^[[:space:]]*//')" != "" ];
Expand All @@ -226,6 +227,8 @@ jobs:
grep -v "^# Changelog" CHANGELOG.md ) >| $TMP_FILE
mv $TMP_FILE CHANGELOG.md
fi
npx prettier --write *.md
fi
- name: Create Pull Request with changes after library update
uses: peter-evans/create-pull-request@v6
Expand All @@ -235,7 +238,7 @@ jobs:
commit-message: Upgrade after onfido-openapi-spec change ${{ needs.generate_specs_and_libraries.outputs.last_commit_short_sha }}
title: Refresh ${{ matrix.git_repo_id }} after onfido-openapi-spec update (${{ needs.generate_specs_and_libraries.outputs.last_commit_short_sha }})
body: |
Auto-generated PR with changes till commit ${{ github.repository_owner }}/onfido-openapi-spec@${{ needs.generate_specs_and_libraries.outputs.last_commit_long_sha }} (included)
Auto-generated PR with changes till commit ${{ github.repository_owner }}/onfido-openapi-spec@${{ needs.generate_specs_and_libraries.outputs.last_commit_long_sha }} (included)
Additional changes:
- None
Expand Down

0 comments on commit 5093eaf

Please sign in to comment.