Skip to content

Commit

Permalink
add ref to checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
adwski committed Jan 31, 2024
1 parent cf7c86f commit a98c893
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: setup db
env:
Expand Down Expand Up @@ -76,7 +78,6 @@ jobs:
run: |
git config --local user.email "[email protected]"
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

0 comments on commit a98c893

Please sign in to comment.