diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index ab9a8da..a1a11e0 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -40,6 +40,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - name: setup db env: @@ -76,7 +78,6 @@ jobs: run: | git config --local user.email "adwski@users.noreply.github.com" git config --local user.name "GitHub Action" - git checkout -t -b $GITHUB_HEAD_REF origin/$GITHUB_HEAD_REF git add README.md git commit -m "chore: update coverage badge" - git push origin $GITHUB_HEAD_REF + git push