Skip to content

Commit

Permalink
refspec
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Sep 16, 2023
1 parent 2538e60 commit bd35c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: >
git fetch
origin
origin/${{ github.event.pull_request.head.ref }}
+${{ github.event.pull_request.head.sha }}
--depth=$(( ${{ github.event.pull_request.commits }} + 1 ))
--no-tags
--prune
Expand All @@ -52,7 +52,7 @@ jobs:
run: >
git fetch
origin
origin/${{ github.event.pull_request.base.ref }}
+${{ github.event.pull_request.base.sha }}
--depth=5
--no-tags
--prune
Expand Down

0 comments on commit bd35c32

Please sign in to comment.