Skip to content

Commit

Permalink
Try including fetch-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
invisibleroads committed May 22, 2024
1 parent 2857466 commit 0ac108f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ref: ${{ github.ref_name }}
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/checkout@v4
if: github.event_name == 'push'
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand Down

0 comments on commit 0ac108f

Please sign in to comment.