Skip to content

Commit

Permalink
Try to fix git checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Jul 31, 2023
1 parent 4acfc7e commit bbb8f42
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/asv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ jobs:
- name: Checkout the PR branch
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "Checking out to $GITHUB_HEAD_REF"
git checkout $GITHUB_HEAD_REF
echo "Checking out to $GITHUB_REF"
git fetch origin $GITHUB_REF
git checkout FETCH_HEAD
- name: Run comparison of PR against main branch
if: ${{ github.event_name == 'pull_request' }}
run: |
Expand Down

0 comments on commit bbb8f42

Please sign in to comment.