Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Jan 27, 2025
1 parent 18f2d48 commit a25031b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,13 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # check out PR head commit instead of merge commit
fetch-depth: 0

- name: Checkout (push or tag)
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Python environment
uses: ./.github/actions/setup-venv
Expand Down

0 comments on commit a25031b

Please sign in to comment.