This commit is contained in:
Ashwin Bharambe 2025-07-30 22:00:32 -07:00
parent 6363a8d1df
commit d79ea110ef

View file

@ -119,19 +119,24 @@ jobs:
git status --porcelain tests/integration/recordings/ git status --porcelain tests/integration/recordings/
git status git status
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then # if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then
echo "New recordings detected, committing and pushing" # echo "New recordings detected, committing and pushing"
git add tests/integration/recordings/ # git add tests/integration/recordings/
git commit -m "Update recordings" # git commit -m "Update recordings"
# re-sync with whatever is now on GitHub # # re-sync with whatever is now on GitHub
git fetch origin ${{ github.head_ref }} # git fetch origin ${{ github.head_ref }}
git rebase origin/${{ github.head_ref }} # git rebase origin/${{ github.head_ref }}
git push --force-with-lease origin HEAD:${{ github.head_ref }} # git push --force-with-lease origin HEAD:${{ github.head_ref }}
else # else
echo "No recording changes" # echo "No recording changes"
fi # fi
- name: Commit and push recordings
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: "style: auto-format from CI"
- name: Write inference logs to file - name: Write inference logs to file
if: ${{ always() }} if: ${{ always() }}