maybe now

This commit is contained in:
Ashwin Bharambe 2025-07-30 21:52:40 -07:00
parent 91be81e445
commit 10af1e0375

View file

@ -49,6 +49,8 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.head_ref }}
- name: Generate test types - name: Generate test types
id: generate-test-types id: generate-test-types
@ -107,11 +109,8 @@ jobs:
- name: Commit and push recordings - name: Commit and push recordings
run: | run: |
set -x
echo "Testing testing" > tests/integration/recordings/test.txt echo "Testing testing" > tests/integration/recordings/test.txt
echo "head ref: ${{ github.head_ref }}" echo "head ref: ${{ github.head_ref }}"
echo "base ref: ${{ github.base_ref }}"
echo "ref: ${{ github.ref }}" echo "ref: ${{ github.ref }}"
pwd pwd
@ -121,13 +120,8 @@ jobs:
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 checkout -B test-branch-foobar
git add tests/integration/recordings/ git add tests/integration/recordings/
git commit -m "Update recordings" git commit -m "Update recordings"
git fetch origin ${{ github.head_ref }}
git rebase origin/${{ github.head_ref }}
git push origin HEAD:${{ github.head_ref }} git push origin HEAD:${{ github.head_ref }}
else else
echo "No recording changes" echo "No recording changes"