Merge pull request #775 from thornbill/check-untracked-changes

Fix checking for changes in untracked files
This commit is contained in:
Bill Thornton 2024-08-16 11:13:16 -04:00 committed by GitHub
commit 15c3aee2b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ jobs:
- name: Commit changes
continue-on-error: true
run: |
! git diff --exit-code && git add --all && git commit --amend -m "Update OpenAPI to unstable"
[[ -n $(git status --porcelain) ]] && git add --all && git commit --amend -m "Update OpenAPI to unstable"
- name: Push changes
run: git push --force origin openapi-unstable