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

View file

@ -50,7 +50,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
ref: ${{ github.head_ref }} ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0 fetch-depth: 0
- name: Generate test types - name: Generate test types
@ -119,24 +119,15 @@ 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 git push --force-with-lease origin HEAD:${{ github.event.pull_request.head.ref }}
# git fetch origin ${{ github.head_ref }} else
# git rebase origin/${{ github.head_ref }} echo "No recording changes"
fi
# git push --force-with-lease origin HEAD:${{ github.head_ref }}
# else
# echo "No recording changes"
# 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() }}