Skip to content

Commit

Permalink
Add fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
invisibleroads committed May 22, 2024
1 parent 0ac108f commit 5c2b069
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
if: github.event_name == 'pull_request'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/checkout@v4
if: github.event_name == 'push'
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand Down

0 comments on commit 5c2b069

Please sign in to comment.